[MLton-commit] r5516

Matthew Fluet fluet at mlton.org
Wed Apr 11 14:01:44 PDT 2007


Move gmp.h include after os include
----------------------------------------------------------------------

U   mlton/branches/on-20050822-x86_64-branch/runtime/cenv.h

----------------------------------------------------------------------

Modified: mlton/branches/on-20050822-x86_64-branch/runtime/cenv.h
===================================================================
--- mlton/branches/on-20050822-x86_64-branch/runtime/cenv.h	2007-04-11 21:00:18 UTC (rev 5515)
+++ mlton/branches/on-20050822-x86_64-branch/runtime/cenv.h	2007-04-11 21:01:44 UTC (rev 5516)
@@ -61,8 +61,6 @@
 COMPILE_TIME_ASSERT(sizeof_float__is_four, sizeof(float) == 4);
 COMPILE_TIME_ASSERT(sizeof_double__is_eight, sizeof(double) == 8);
 
-#include "gmp.h"
-
 #if (defined (__APPLE_CC__))
 #define __Darwin__
 #endif
@@ -118,8 +116,13 @@
 #error unknown platform arch
 #endif
 
-COMPILE_TIME_ASSERT(sizeof_uintptr_t__is_sizeof_voidStar, sizeof(uintptr_t) == sizeof(void*));
-COMPILE_TIME_ASSERT(sizeof_uintptr_t__is__sizeof_size_t, sizeof(uintptr_t) == sizeof(size_t));
-COMPILE_TIME_ASSERT(sizeof_uintptr_t__is__sizeof_ptrdiff_t, sizeof(uintptr_t) == sizeof(ptrdiff_t));
+#include "gmp.h"
 
+COMPILE_TIME_ASSERT(sizeof_uintptr_t__is__sizeof_voidStar, 
+                    sizeof(uintptr_t) == sizeof(void*));
+COMPILE_TIME_ASSERT(sizeof_uintptr_t__is__sizeof_size_t, 
+                    sizeof(uintptr_t) == sizeof(size_t));
+COMPILE_TIME_ASSERT(sizeof_uintptr_t__is__sizeof_ptrdiff_t, 
+                    sizeof(uintptr_t) == sizeof(ptrdiff_t));
+
 #endif /* _MLTON_CENV_H_ */




More information about the MLton-commit mailing list