summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/gprof/search_list.h
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2000-09-12 19:13:03 +0000
committerMarc Espie <espie@cvs.openbsd.org>2000-09-12 19:13:03 +0000
commit1b50fce4c0ed748c156af3ac629e50cb5e4d0ef4 (patch)
treeedee61faabd18b4a5d84e8cdb679d7a8d1fe171f /gnu/usr.bin/binutils/gprof/search_list.h
parent9f1193e30b5f04af9ea81c644eec79b7b535b890 (diff)
Help stupid cvs fixing basic conflicts.
Diffstat (limited to 'gnu/usr.bin/binutils/gprof/search_list.h')
-rw-r--r--gnu/usr.bin/binutils/gprof/search_list.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/gprof/search_list.h b/gnu/usr.bin/binutils/gprof/search_list.h
index 54dfe3590f7..6f5acae934f 100644
--- a/gnu/usr.bin/binutils/gprof/search_list.h
+++ b/gnu/usr.bin/binutils/gprof/search_list.h
@@ -1,6 +1,14 @@
#ifndef search_list_h
#define search_list_h
+/* Non-Posix systems use semi-colon as directory separator in lists,
+ since colon is part of drive letter spec. */
+#if defined (__MSDOS__) || defined (_WIN32)
+#define PATH_SEP_CHAR ';'
+#else
+#define PATH_SEP_CHAR ':'
+#endif
+
typedef struct search_list_elem
{
struct search_list_elem *next;