diff options
Diffstat (limited to 'soltools/javadep/javadep.c')
-rw-r--r-- | soltools/javadep/javadep.c | 12 |
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"); |