summaryrefslogtreecommitdiff
path: root/soltools/javadep
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2007-11-02 11:41:47 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2007-11-02 11:41:47 +0000
commitf9798bad0072224a523a144fd83c19eb3df5289c (patch)
tree5cdb82346264799bce6d9b7a9fdaec10fb653a90 /soltools/javadep
parent2c821fbbceaf04d1913e4e456a8b332a9aa59e98 (diff)
INTEGRATION: CWS os2port02 (1.9.2); FILE MERGED
2007/09/30 12:02:40 ydario 1.9.2.1: Issue number: i82034 Submitted by: ydario Reviewed by: ydario Commit of changes for OS/2 CWS source code integration.
Diffstat (limited to 'soltools/javadep')
-rw-r--r--soltools/javadep/javadep.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/soltools/javadep/javadep.c b/soltools/javadep/javadep.c
index d5341e8faf7c..44e78eaacd69 100644
--- a/soltools/javadep/javadep.c
+++ b/soltools/javadep/javadep.c
@@ -4,9 +4,9 @@
*
* $RCSfile: javadep.c,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: vg $ $Date: 2007-09-20 15:59:13 $
+ * last change: $Author: hr $ $Date: 2007-11-02 12:41:47 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -112,10 +112,10 @@ enum { NGROW_INIT = 10, NGROW = 2 };
static char *pprogname = "javadep";
static char csep = ';';
-#if defined (UNX)
+#if defined (UNX) || defined(OS2)
#define CDECL
static char cpathsep = '/';
-#elif defined (WNT) || defined(OS2)
+#elif defined (WNT)
static char cpathsep = '\\';
#endif
static int bnl = 0;
@@ -309,7 +309,7 @@ add_to_dependencies(struct growable *pdep,
}
/* get the canonical path */
-#if defined (UNX)
+#if defined (UNX) || defined(OS2)
if ( !(realpath(pclass_file, cnp_class_file)
&& realpath(path, cnp_str) ) ) {
err_quit("can't get the canonical path");