aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/jcf-path.c
diff options
context:
space:
mode:
authorAlexandre Petit-Bianco <apbianco@cygnus.com>2000-03-14 05:01:05 +0000
committerAlexandre Petit-Bianco <apbianco@cygnus.com>2000-03-14 05:01:05 +0000
commita3a1340d014bdc1dcd45565f761e2148f7ab06af (patch)
treebf1619873e76c17441a1423f1eaba6a4a64f054a /gcc/java/jcf-path.c
parenteabe7f7bd8d1859050b3a4cb8f4ed448a4b79ad0 (diff)
Added Java 1.1 language features.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@32517 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/jcf-path.c')
-rw-r--r--gcc/java/jcf-path.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/java/jcf-path.c b/gcc/java/jcf-path.c
index 55715a15507..3e63bc5b988 100644
--- a/gcc/java/jcf-path.c
+++ b/gcc/java/jcf-path.c
@@ -34,6 +34,15 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
#define GET_ENV_PATH_LIST(VAR,NAME) do { (VAR) = getenv (NAME); } while (0)
#endif
+/* By default, colon separates directories in a path. */
+#ifndef PATH_SEPARATOR
+#define PATH_SEPARATOR ':'
+#endif
+
+#ifndef DIR_SEPARATOR
+#define DIR_SEPARATOR '/'
+#endif
+
#ifndef DIR_UP
#define DIR_UP ".."
#endif