Mercurial > hg > truffle
diff src/share/vm/precompiled.hpp @ 1983:c760f78e0a53
7003125: precompiled.hpp is included when precompiled headers are not used
Summary: Added an ifndef DONT_USE_PRECOMPILED_HEADER to precompiled.hpp. Set up DONT_USE_PRECOMPILED_HEADER when compiling with Sun Studio or when the user specifies USE_PRECOMPILED_HEADER=0. Fixed broken include dependencies.
Reviewed-by: coleenp, kvn
author | stefank |
---|---|
date | Wed, 01 Dec 2010 15:04:06 +0100 |
parents | 828eafbd85cc |
children | 3582bf76420e |
line wrap: on
line diff
--- a/src/share/vm/precompiled.hpp Thu Dec 02 14:00:03 2010 -0500 +++ b/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