summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xrdb.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/xrdb.c b/xrdb.c
index 7475446..09422ef 100644
--- a/xrdb.c
+++ b/xrdb.c
@@ -65,12 +65,7 @@
#define SCREEN_RESOURCES "SCREEN_RESOURCES"
#ifndef CPP
-#ifdef __UNIXOS2__
-/* expected to be in path */
-#define CPP "cpp"
-#else
#define CPP "/usr/lib/cpp"
-#endif /* __UNIXOS2__ */
#endif /* CPP */
#define INIT_BUFFER_SIZE 10000
@@ -1012,15 +1007,8 @@ main(int argc, char *argv[])
strcpy(tmpname2, "xrdbD_XXXXXX");
strcpy(tmpname3, "\\temp\\xrdbD_XXXXXX");
#else
-#ifdef __UNIXOS2__
- { char *tmpdir=getenv("TMP");
- if (!tmpdir) tmpdir="/";
- sprintf(tmpname2, "%s/xrdbD_XXXXXX",tmpdir);
- }
-#else
strcpy(tmpname2, "/tmp/xrdbD_XXXXXX");
#endif
-#endif
(void) mktemp(tmpname2);
}
#endif
@@ -1037,15 +1025,8 @@ main(int argc, char *argv[])
#ifdef WIN32
strcpy(tmpname, "\\temp\\xrdb_XXXXXX");
#else
-#ifdef __UNIXOS2__
- { char *tmpdir=getenv("TMP");
- if (!tmpdir) tmpdir="/";
- sprintf(tmpname, "%s/xrdb_XXXXXX",tmpdir);
- }
-#else
strcpy(tmpname, "/tmp/xrdb_XXXXXX");
#endif
-#endif
#ifndef HAVE_MKSTEMP
(void) mktemp(tmpname);
filename = tmpname;