changeset 2121:a6225ee372e5

Move the __STDC_FORMAT_MACROS define up since inttypes.h is getting included indirectly by other includes on OpenBSD.
author kurt
date Mon, 31 Jan 2011 18:21:38 -0500
parents 7485f1770f80
children 1ac6aed892ee
files src/share/vm/utilities/globalDefinitions.hpp
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/utilities/globalDefinitions.hpp	Mon Jan 31 18:19:33 2011 -0500
+++ b/src/share/vm/utilities/globalDefinitions.hpp	Mon Jan 31 18:21:38 2011 -0500
@@ -25,6 +25,8 @@
 #ifndef SHARE_VM_UTILITIES_GLOBALDEFINITIONS_HPP
 #define SHARE_VM_UTILITIES_GLOBALDEFINITIONS_HPP
 
+#define __STDC_FORMAT_MACROS
+
 #ifdef TARGET_COMPILER_gcc
 # include "utilities/globalDefinitions_gcc.hpp"
 #endif
@@ -37,7 +39,6 @@
 
 #include "utilities/macros.hpp"
 
-#define __STDC_FORMAT_MACROS
 #include <inttypes.h>
 
 // This file holds all globally used constants & types, class (forward)