Eli Zaretskii's DOSish file name patches.
[deliverable/binutils-gdb.git] / gprof / search_list.h
index 54dfe3590f7a073abd0417df433d1210cf7e1e99..6f5acae934f1325d3cd22482e3de0b14a60e56dc 100644 (file)
@@ -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;
This page took 0.024424 seconds and 4 git commands to generate.