[llvm-commits] [llvm] r141093 - /llvm/trunk/lib/TableGen/TGPreprocessor.cpp

Che-Liang Chiou clchiou at gmail.com
Tue Oct 4 19:43:44 PDT 2011


Thanks for fixing this!

On Wed, Oct 5, 2011 at 12:28 AM, Francois Pichet <pichet2000 at gmail.com> wrote:
> Author: fpichet
> Date: Tue Oct  4 11:28:07 2011
> New Revision: 141093
>
> URL: http://llvm.org/viewvc/llvm-project?rev=141093&view=rev
> Log:
> Unbreak MSVC build.
>
> Modified:
>    llvm/trunk/lib/TableGen/TGPreprocessor.cpp
>
> Modified: llvm/trunk/lib/TableGen/TGPreprocessor.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/TableGen/TGPreprocessor.cpp?rev=141093&r1=141092&r2=141093&view=diff
> ==============================================================================
> --- llvm/trunk/lib/TableGen/TGPreprocessor.cpp (original)
> +++ llvm/trunk/lib/TableGen/TGPreprocessor.cpp Tue Oct  4 11:28:07 2011
> @@ -24,6 +24,10 @@
>  #include <cstdlib>
>  #include <cstring>
>
> +#ifdef _MSC_VER
> +#define snprintf _snprintf
> +#endif
> +
>  namespace llvm {
>  typedef std::map<std::string, std::string> TGPPEnvironment;
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>




More information about the llvm-commits mailing list