diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2007-09-20 14:59:13 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2007-09-20 14:59:13 +0000 |
commit | ddc1e6b00637df6b9a7b57abf074cde66ba611bb (patch) | |
tree | a12abe6cd5c93e23ac4a74111a6881f214477b2b /soltools | |
parent | d5df65f217407ca174fff51cdb3b3b3ba68d6b26 (diff) |
INTEGRATION: CWS os2port01 (1.8.30); FILE MERGED
2006/12/28 15:05:48 ydario 1.8.30.1: OS/2 initial import.
Diffstat (limited to 'soltools')
-rw-r--r-- | soltools/javadep/javadep.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/soltools/javadep/javadep.c b/soltools/javadep/javadep.c index db418f796978..d5341e8faf7c 100644 --- a/soltools/javadep/javadep.c +++ b/soltools/javadep/javadep.c @@ -4,9 +4,9 @@ * * $RCSfile: javadep.c,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: hr $ $Date: 2006-06-20 05:08:14 $ + * last change: $Author: vg $ $Date: 2007-09-20 15:59:13 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -46,7 +46,7 @@ #include <ctype.h> #include <limits.h> -#if defined(UNX) +#if defined(UNX) || defined(OS2) #include <unistd.h> #include <netinet/in.h> /* ntohl(), ntohs() */ #elif defined(WNT) @@ -62,6 +62,10 @@ #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 @@ -111,7 +115,7 @@ static char csep = ';'; #if defined (UNX) #define CDECL static char cpathsep = '/'; -#elif defined (WNT) +#elif defined (WNT) || defined(OS2) static char cpathsep = '\\'; #endif static int bnl = 0; |