summaryrefslogtreecommitdiff
path: root/make.h
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2006-10-01 05:38:38 +0000
committerPaul Smith <psmith@gnu.org>2006-10-01 05:38:38 +0000
commit7595f38f62afa7ac3451018d865fb251e3ce91c3 (patch)
treea282fd77e5ef862b9bbccb983a3c601ba4f834fb /make.h
parentc25294ad3ba1252a0d77bf63a27758a0eee4259e (diff)
downloadgunmake-7595f38f62afa7ac3451018d865fb251e3ce91c3.tar.gz
Fixed a number of documentation bugs, plus some build/install issues:
16304, 16468, 16577, 17701, 17880, 16051, 16652, 16698 Plus some from the mailing list. Imported a patch from Eli to allow Cygwin builds to support DOS-style pathnames.
Diffstat (limited to 'make.h')
-rw-r--r--make.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/make.h b/make.h
index 949f35a..316d9c7 100644
--- a/make.h
+++ b/make.h
@@ -311,16 +311,18 @@ int strcmpi (const char *,const char *);
#define S_(msg1,msg2,num) ngettext (msg1,msg2,num)
/* Handle other OSs. */
-#if defined(HAVE_DOS_PATHS)
-# define PATH_SEPARATOR_CHAR ';'
-#elif defined(VMS)
-# define PATH_SEPARATOR_CHAR ','
-#else
-# define PATH_SEPARATOR_CHAR ':'
+#ifndef PATH_SEPARATOR_CHAR
+# if defined(HAVE_DOS_PATHS)
+# define PATH_SEPARATOR_CHAR ';'
+# elif defined(VMS)
+# define PATH_SEPARATOR_CHAR ','
+# else
+# define PATH_SEPARATOR_CHAR ':'
+# endif
#endif
-/* This is needed for getcwd() and chdir(). */
-#if defined(_MSC_VER) || defined(__BORLANDC__)
+/* This is needed for getcwd() and chdir(), on some W32 systems. */
+#if defined(HAVE_DIRECT_H)
# include <direct.h>
#endif