[llvm-commits] [llvm] r76722 - /llvm/trunk/include/llvm/Support/DataTypes.h.cmake
Eli Friedman
eli.friedman at gmail.com
Tue Jul 21 22:06:47 PDT 2009
Author: efriedma
Date: Wed Jul 22 00:06:41 2009
New Revision: 76722
URL: http://llvm.org/viewvc/llvm-project?rev=76722&view=rev
Log:
Attempt to fix BuildBot breakage with MSVC.
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=76722&r1=76721&r2=76722&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/DataTypes.h.cmake (original)
+++ llvm/trunk/include/llvm/Support/DataTypes.h.cmake Wed Jul 22 00:06:41 2009
@@ -95,6 +95,11 @@
#include <stdlib.h>
#include <stddef.h>
#include <sys/types.h>
+#ifdef __cplusplus
+#include <cmath>
+#else
+#include <math.h>
+#endif
typedef __int64 int64_t;
typedef unsigned __int64 uint64_t;
typedef signed int int32_t;
More information about the llvm-commits
mailing list