diff options
Diffstat (limited to 'src/share/vm/prims/jvmtiEnter.xsl')
-rw-r--r-- | src/share/vm/prims/jvmtiEnter.xsl | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/share/vm/prims/jvmtiEnter.xsl b/src/share/vm/prims/jvmtiEnter.xsl index 6b867e676..a1d128b13 100644 --- a/src/share/vm/prims/jvmtiEnter.xsl +++ b/src/share/vm/prims/jvmtiEnter.xsl @@ -1,6 +1,6 @@ <?xml version="1.0"?> <!-- - Copyright (c) 2002, 2012, Oracle and/or its affiliates. All rights reserved. + Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved. DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. This code is free software; you can redistribute it and/or modify it @@ -37,6 +37,8 @@ <xsl:call-template name="sourceHeader"/> <xsl:text> # include "precompiled.hpp" +# include "utilities/macros.hpp" +#if INCLUDE_JVMTI # include "prims/jvmtiEnter.hpp" # include "prims/jvmtiRawMonitor.hpp" # include "prims/jvmtiUtil.hpp" @@ -247,6 +249,7 @@ struct jvmtiInterface_1_ jvmti</xsl:text> <xsl:text> }; +#endif // INCLUDE_JVMTI </xsl:text> </xsl:template> @@ -469,7 +472,7 @@ static jvmtiError JNICALL </xsl:text> <xsl:if test="not(contains(@jkernel,'yes'))"> - <xsl:text>
#ifdef JVMTI_KERNEL 
</xsl:text> + <xsl:text>
#if !INCLUDE_JVMTI 
</xsl:text> <xsl:text> return JVMTI_ERROR_NOT_AVAILABLE; 
</xsl:text> <xsl:text>#else 
</xsl:text> </xsl:if> @@ -596,7 +599,7 @@ static jvmtiError JNICALL </xsl:text> <xsl:if test="not(contains(@jkernel,'yes'))"> - <xsl:text>#endif // JVMTI_KERNEL
</xsl:text> + <xsl:text>#endif // INCLUDE_JVMTI
</xsl:text> </xsl:if> <xsl:text>}
</xsl:text> |