summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-01-04 18:37:45 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-01-04 18:37:45 -0800
commite4f767913338052527538d429931e8abd8c3fb88 (patch)
treef49cde8cf8a991af2fc671ef6569b769e5db1855
parentbd1103ef3cfef9cfed645566f944a69e7ca568b4 (diff)
unifdef -U__UNIXOS2__
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-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 */