Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSravan Kumar Lakkimsetti2014-11-05 09:54:06 +0000
committerArun Thondapu2014-12-03 10:08:07 +0000
commit5372006a78ea0713b90451b30ec45f6d7d35f16a (patch)
tree96b59a2fa4f03cc911ea55877849eef0082297d0
parentd50e37f95867d8a09e63847bf607bd838fe32087 (diff)
downloadrt.equinox.framework-5372006a78ea0713b90451b30ec45f6d7d35f16a.tar.gz
rt.equinox.framework-5372006a78ea0713b90451b30ec45f6d7d35f16a.tar.xz
rt.equinox.framework-5372006a78ea0713b90451b30ec45f6d7d35f16a.zip
Bug 450062 - Exclude GTK_version flag for windows
Change-Id: I17c65f8e758851f7e522ffdf5863a89cf44b6022 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
-rw-r--r--features/org.eclipse.equinox.executable.feature/library/eclipse.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/features/org.eclipse.equinox.executable.feature/library/eclipse.c b/features/org.eclipse.equinox.executable.feature/library/eclipse.c
index 90020dc5f..c5e399e16 100644
--- a/features/org.eclipse.equinox.executable.feature/library/eclipse.c
+++ b/features/org.eclipse.equinox.executable.feature/library/eclipse.c
@@ -486,6 +486,9 @@ static int _run(int argc, _TCHAR* argv[], _TCHAR* vmArgs[])
processDefaultAction(initialArgc, initialArgv);
}
+#ifndef _WIN32
+#ifndef MACOSX
+
if (gtkVersionString != NULL) {
int gtkVersion;
_stscanf(gtkVersionString, _T_ECLIPSE("%d"), &gtkVersion);
@@ -496,6 +499,8 @@ static int _run(int argc, _TCHAR* argv[], _TCHAR* vmArgs[])
setenv("SWT_GTK3","1",1);
}
}
+#endif
+#endif
/* try to open the specified file in an already running eclipse */
/* on Mac we are only registering an event handler here, always do this */

Back to the top