Minor fixes needed for building on windows.

This commit is contained in:
Jean-Luc Duprat
2012-08-30 10:56:13 -07:00
parent 11db466a88
commit e0490d0df5
2 changed files with 4 additions and 3 deletions

View File

@@ -81,6 +81,7 @@
// Some ms header decided to define setjmp as _setjmp, undo this for this file.
#ifdef _MSC_VER
#undef setjmp
#define snprintf _snprintf
#endif
#include "llvm/Target/TargetMachine.h"