summaryrefslogtreecommitdiff
path: root/include/llvm/Support/DataTypes.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Support/DataTypes.h.in')
-rw-r--r--include/llvm/Support/DataTypes.h.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/llvm/Support/DataTypes.h.in b/include/llvm/Support/DataTypes.h.in
index 72063f7d2a..f63ca097b5 100644
--- a/include/llvm/Support/DataTypes.h.in
+++ b/include/llvm/Support/DataTypes.h.in
@@ -27,6 +27,12 @@
#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
@@ -55,12 +61,6 @@
#include <stdint.h>
#endif
-#ifdef __cplusplus
-#include <cmath>
-#else
-#include <math.h>
-#endif
-
#ifdef _AIX
#include "llvm/Support/AIXDataTypesFix.h"
#endif