summaryrefslogtreecommitdiff
path: root/include/uno/environment.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/uno/environment.h')
-rw-r--r--include/uno/environment.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/uno/environment.h b/include/uno/environment.h
index e76ed2fc7ba6..35933ef956f5 100644
--- a/include/uno/environment.h
+++ b/include/uno/environment.h
@@ -261,12 +261,11 @@ typedef void (SAL_CALL * uno_initEnvironmentFunc)( uno_Environment * pEnv );
/* We link statically and have just the C++ environment */
void SAL_CALL CPPU_ENV_uno_initEnvironment( uno_Environment * Env )
SAL_THROW_EXTERN_C();
-#ifdef SOLAR_JAVA
-/* We also have the Java environment */
+
+/* We might also have the Java environment */
void SAL_CALL java_uno_initEnvironment( uno_Environment * Env )
SAL_THROW_EXTERN_C();
#endif
-#endif
/** Gets a specific environment. If the specified environment does not exist, then a default one
is created and registered. The environment revokes itself on last release() call.