summaryrefslogtreecommitdiffstats
path: root/soltools/javadep
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@novell.com>2011-04-15 13:36:58 +0300
committerTor Lillqvist <tlillqvist@novell.com>2011-04-15 14:08:09 +0300
commit20ba3c4ae8053079bc5ec134c4c60a3aa33b5ad7 (patch)
tree11bda8adc750e2bc15f377512d34e8215f507881 /soltools/javadep
parentgbuildize chart2 (diff)
downloadcore-20ba3c4ae8053079bc5ec134c4c60a3aa33b5ad7.tar.gz
core-20ba3c4ae8053079bc5ec134c4c60a3aa33b5ad7.zip
Kill OS/2 stuff
Diffstat (limited to 'soltools/javadep')
-rw-r--r--soltools/javadep/javadep.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/soltools/javadep/javadep.c b/soltools/javadep/javadep.c
index 86032c7f7cc9..351177a76c6c 100644
--- a/soltools/javadep/javadep.c
+++ b/soltools/javadep/javadep.c
@@ -39,7 +39,7 @@
#include <ctype.h>
#include <limits.h>
-#if defined(UNX) || defined(OS2)
+#if defined(UNX)
#include <unistd.h>
#include <netinet/in.h> /* ntohl(), ntohs() */
#elif defined(WNT)
@@ -55,10 +55,6 @@
#define ntohs(x) ((((x) >> 8) & 0xff) | (((x) & 0xff) << 8))
#endif
-#if defined(OS2)
-#define CDECL
-#endif
-
/* max. length of line in response file */
#define RES_FILE_BUF 65536
@@ -105,10 +101,10 @@ enum { NGROW_INIT = 10, NGROW = 2 };
static char *pprogname = "javadep";
static char csep = ';';
-#if defined (UNX) || defined(OS2)
+#if defined (UNX)
#define CDECL
static char cpathsep = '/';
-#elif defined (WNT) || defined(OS2)
+#elif defined (WNT)
static char cpathsep = '\\';
#endif
static FILE *pfsout = NULL;
@@ -302,7 +298,7 @@ add_to_dependencies(struct growable *pdep,
}
/* get the canonical path */
-#if defined (UNX) || defined(OS2)
+#if defined (UNX)
if ( !(realpath(pclass_file, cnp_class_file)
&& realpath(path, cnp_str) ) ) {
err_quit("can't get the canonical path");