mirror of
https://github.com/mirror/make.git
synced 2025-02-04 16:51:12 +08:00
Fix an issue with PATH_SEPARATOR_CHAR when cross-compiling for Windows.
Fixes Savannah bug #34818.
This commit is contained in:
parent
0bdc191501
commit
9fb4cdeedb
@ -1,3 +1,9 @@
|
|||||||
|
2012-01-16 Paul Smith <psmith@gnu.org>
|
||||||
|
|
||||||
|
* make.h (PATH_SEPARATOR_CHAR): Allow resetting for crosscompiling
|
||||||
|
for Windows. Patch by Chris Sutcliffe <ir0nh34d@gmail.com>
|
||||||
|
Fixes Savannah bug #34818.
|
||||||
|
|
||||||
2012-01-15 Paul Smith <psmith@gnu.org>
|
2012-01-15 Paul Smith <psmith@gnu.org>
|
||||||
|
|
||||||
* variable.h: Prototype an interface for defining new make functions.
|
* variable.h: Prototype an interface for defining new make functions.
|
||||||
|
12
make.h
12
make.h
@ -315,11 +315,15 @@ char *strsignal (int signum);
|
|||||||
#define N_(msgid) gettext_noop (msgid)
|
#define N_(msgid) gettext_noop (msgid)
|
||||||
#define S_(msg1,msg2,num) ngettext (msg1,msg2,num)
|
#define S_(msg1,msg2,num) ngettext (msg1,msg2,num)
|
||||||
|
|
||||||
/* Handle other OSs. */
|
/* Handle other OSs.
|
||||||
#ifndef PATH_SEPARATOR_CHAR
|
To overcome an issue parsing paths in a DOS/Windows environment when
|
||||||
# if defined(HAVE_DOS_PATHS)
|
built in a unix based environment, override the PATH_SEPARATOR_CHAR
|
||||||
|
definition unless being built for Cygwin. */
|
||||||
|
#if defined(HAVE_DOS_PATHS) && !defined(__CYGWIN__)
|
||||||
|
# undef PATH_SEPARATOR_CHAR
|
||||||
# define PATH_SEPARATOR_CHAR ';'
|
# define PATH_SEPARATOR_CHAR ';'
|
||||||
# elif defined(VMS)
|
#elif !defined(PATH_SEPARATOR_CHAR)
|
||||||
|
# if defined (VMS)
|
||||||
# define PATH_SEPARATOR_CHAR ','
|
# define PATH_SEPARATOR_CHAR ','
|
||||||
# else
|
# else
|
||||||
# define PATH_SEPARATOR_CHAR ':'
|
# define PATH_SEPARATOR_CHAR ':'
|
||||||
|
Loading…
Reference in New Issue
Block a user