[llvm-commits] [llvm] r152523 - /llvm/trunk/include/llvm/Support/DataTypes.h.cmake
Michael J. Spencer
bigcheesegs at gmail.com
Sat Mar 10 17:20:23 PST 2012
Author: mspencer
Date: Sat Mar 10 19:20:23 2012
New Revision: 152523
URL: http://llvm.org/viewvc/llvm-project?rev=152523&view=rev
Log:
Fix warnings when building with VS11.
Modified:
llvm/trunk/include/llvm/Support/DataTypes.h.cmake
Modified: llvm/trunk/include/llvm/Support/DataTypes.h.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/DataTypes.h.cmake?rev=152523&r1=152522&r2=152523&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/DataTypes.h.cmake (original)
+++ llvm/trunk/include/llvm/Support/DataTypes.h.cmake Sat Mar 10 19:20:23 2012
@@ -94,6 +94,9 @@
#else /* _MSC_VER */
/* Visual C++ doesn't provide standard integer headers, but it does provide
built-in data types. */
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
#include <stdlib.h>
#include <stddef.h>
#include <sys/types.h>
More information about the llvm-commits
mailing list