Include cmath/math.h in DataTypes.h regardless of whether MSVC is being used.
[oota-llvm.git] / include / llvm / Support / DataTypes.h.in
index 72063f7d2add3a4b74bcf43ff3912bf0a1f6d9c8..f63ca097b5d6ee7062c4287aa0a999f270bc2ec5 100644 (file)
 #undef HAVE_UINT64_T
 #undef HAVE_U_INT64_T
 
+#ifdef __cplusplus
+#include <cmath>
+#else
+#include <math.h>
+#endif
+
 #ifndef _MSC_VER
 
 // Note that this header's correct operation depends on __STDC_LIMIT_MACROS
 #include <stdint.h>
 #endif
 
-#ifdef __cplusplus
-#include <cmath>
-#else
-#include <math.h>
-#endif
-
 #ifdef _AIX
 #include "llvm/Support/AIXDataTypesFix.h"
 #endif