hotspot/src/share/vm/precompiled.hpp
changeset 7408 c04a5c989f26
parent 7405 e6fc8d3926f8
child 8076 96d498ec7ae1
--- a/hotspot/src/share/vm/precompiled.hpp	Thu Dec 02 14:00:03 2010 -0500
+++ b/hotspot/src/share/vm/precompiled.hpp	Wed Dec 01 15:04:06 2010 +0100
@@ -22,6 +22,10 @@
  *
  */
 
+// Precompiled headers are turned off for Sun Studion,
+// or if the user passes USE_PRECOMPILED_HEADER=0 to the makefiles.
+#ifndef DONT_USE_PRECOMPILED_HEADER
+
 # include "asm/assembler.hpp"
 # include "asm/assembler.inline.hpp"
 # include "asm/codeBuffer.hpp"
@@ -323,3 +327,5 @@
 # include "gc_implementation/shared/gcAdaptivePolicyCounters.hpp"
 # include "gc_implementation/shared/gcPolicyCounters.hpp"
 #endif // SERIALGC
+
+#endif // !DONT_USE_PRECOMPILED_HEADER