Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Niefer2009-10-07 19:25:22 +0000
committerAndrew Niefer2009-10-07 19:25:22 +0000
commit9653268c05d16d053579f0171fa8fb70ec423f34 (patch)
tree6b9972b466437a03602ea5766229fcd154ad98f7 /bundles/org.eclipse.equinox.executable
parent34841c7f7a576a7eb2d8d7022fafc00eedb3d342 (diff)
downloadrt.equinox.framework-9653268c05d16d053579f0171fa8fb70ec423f34.tar.gz
rt.equinox.framework-9653268c05d16d053579f0171fa8fb70ec423f34.tar.xz
rt.equinox.framework-9653268c05d16d053579f0171fa8fb70ec423f34.zip
bug 289138 - ANSI/UNICODE backwards compatibility
Diffstat (limited to 'bundles/org.eclipse.equinox.executable')
-rw-r--r--bundles/org.eclipse.equinox.executable/library/eclipseCommon.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.executable/library/eclipseCommon.h b/bundles/org.eclipse.equinox.executable/library/eclipseCommon.h
index 59267d9e0..5e4194693 100644
--- a/bundles/org.eclipse.equinox.executable/library/eclipseCommon.h
+++ b/bundles/org.eclipse.equinox.executable/library/eclipseCommon.h
@@ -19,8 +19,16 @@
#define MAX_PATH_LENGTH 2000
-#define RUN_METHOD _T_ECLIPSE("runW")
+#ifdef UNICODE
+#define run runW
+#define setInitialArgs setInitialArgsW
+#define RUN_METHOD _T_ECLIPSE("runW")
#define SET_INITIAL_ARGS _T_ECLIPSE("setInitialArgsW")
+#else
+#define RUN_METHOD _T_ECLIPSE("run")
+#define SET_INITIAL_ARGS _T_ECLIPSE("setInitialArgs")
+#endif
+
#define DEFAULT_EQUINOX_STARTUP _T_ECLIPSE("org.eclipse.equinox.launcher")
#ifdef _WIN32

Back to the top