summaryrefslogtreecommitdiff
path: root/include/uno
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-08-19 00:41:12 +0300
committerTor Lillqvist <tml@iki.fi>2013-08-19 10:29:04 +0300
commit08452f1208a2ecbf7c6f15a96efeedbe5210ec83 (patch)
treefb09bce47d74d368ae9449bf4a5dc9e33c1ac1a8 /include/uno
parenta3b06ecf4217016c883ce40e52fcd4b6a2d25860 (diff)
Rename SOLAR_JAVA to ENABLE_JAVA and HAVE_FEATURE_JAVA
Change-Id: Ib451bdb3c1c2ca42347abfde44651d5cf5eef4f3
Diffstat (limited to 'include/uno')
-rw-r--r--include/uno/environment.h5
-rw-r--r--include/uno/mapping.h2
2 files changed, 2 insertions, 5 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.
diff --git a/include/uno/mapping.h b/include/uno/mapping.h
index 179f41f869c9..fd6c4527c058 100644
--- a/include/uno/mapping.h
+++ b/include/uno/mapping.h
@@ -194,14 +194,12 @@ void SAL_CALL CPPU_ENV_uno_ext_getMapping(
struct _uno_Environment * pTo )
SAL_THROW_EXTERN_C();
-#ifdef SOLAR_JAVA
/* This is the uno_ext_getMapping function in the Java/UNO bridge */
void SAL_CALL java_uno_ext_getMapping(
struct _uno_Mapping ** ppMapping,
struct _uno_Environment * pFrom,
struct _uno_Environment * pTo )
SAL_THROW_EXTERN_C();
-#endif
#endif