summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xkbcomp.c3
-rw-r--r--xkbpath.c3
2 files changed, 0 insertions, 6 deletions
diff --git a/xkbcomp.c b/xkbcomp.c
index 116bcfa..440d542 100644
--- a/xkbcomp.c
+++ b/xkbcomp.c
@@ -47,9 +47,6 @@
#include "tokens.h"
#include <X11/extensions/XKBgeom.h>
-#ifdef __UNIXOS2__
-#define chdir _chdir2
-#endif
#ifdef WIN32
#define S_IRGRP 0
diff --git a/xkbpath.c b/xkbpath.c
index 6802012..6f18b86 100644
--- a/xkbpath.c
+++ b/xkbpath.c
@@ -213,9 +213,6 @@ XkbAddDirectoryToPath(const char *dir)
XkbClearIncludePath();
return True;
}
-#ifdef __UNIXOS2__
- dir = (char *) __XOS2RedirRoot(dir);
-#endif
len = strlen(dir);
if (len + 2 >= PATH_MAX)
{ /* allow for '/' and at least one character */