Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.equinox.executable/library/gtk/eclipseGtk.c')
-rw-r--r--bundles/org.eclipse.equinox.executable/library/gtk/eclipseGtk.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.executable/library/gtk/eclipseGtk.c b/bundles/org.eclipse.equinox.executable/library/gtk/eclipseGtk.c
index 7352af3c6..c93804bac 100644
--- a/bundles/org.eclipse.equinox.executable/library/gtk/eclipseGtk.c
+++ b/bundles/org.eclipse.equinox.executable/library/gtk/eclipseGtk.c
@@ -35,6 +35,10 @@
#include <semaphore.h>
#include <fcntl.h>
+#ifdef HPUX
+#define SEM_FAILED (void *)-1
+#endif
+
/* Global Variables */
char* defaultVM = "java";
char* vmLibrary = "libjvm.so";

Back to the top