mass rename and rebranding from xwt to ibex - fixed to use ixt files
[org.ibex.core.git] / src / org / xwt / plat / Linux.cc
diff --git a/src/org/xwt/plat/Linux.cc b/src/org/xwt/plat/Linux.cc
deleted file mode 100644 (file)
index b3a19e6..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-#include <stdint.h>
-#include "X11.cc"
-
-#include <org/xwt/plat/Linux.h>
-
-// we love libgcj!
-extern const char **_Jv_argv;
-extern int _Jv_argc;
-
-void org::xwt::plat::Linux::fixEnvironment() {
-    // see http://lists.debian.org/debian-glibc/2003/debian-glibc-200311/msg00647.html
-    const char* ld_assume_kernel = getenv("LD_ASSUME_KERNEL");
-    if (ld_assume_kernel == NULL || strcmp("2.4.1", ld_assume_kernel)) {
-        int result;
-        printf("respawning self (%s) with LD_ASSUME_KERNEL=2.4.1\n", _Jv_argv[0]);
-        setenv("LD_ASSUME_KERNEL", "2.4.1", 1);
-        result = execvp(_Jv_argv[0], (char* const*)((void*)_Jv_argv));
-        printf("execvp() failed with error code %d\n", result);
-       exit(-1);
-    }
-}