diff options
author | Eli Zaretskii <eliz@gnu.org> | 2014-07-16 18:23:04 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2014-07-16 18:23:04 +0300 |
commit | 241787d8e4e0aa8b266ed4dd17b55c4def92981d (patch) | |
tree | 6205ce4e4aee07a50c187a393df64c505a6ca1cb | |
parent | faeeb27166942f6841a408ef22192153ff0cb253 (diff) | |
download | gunmake-241787d8e4e0aa8b266ed4dd17b55c4def92981d.tar.gz |
Fix compilation on MS-Windows.
* makeint.h [WINDOWS32]: Don't declare 'program' as 'const char *',
since it is modified in 'main'.
-rw-r--r-- | makeint.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -609,7 +609,11 @@ extern double max_load_average; extern int max_load_average; #endif +#ifdef WINDOWS32 +extern char *program; +#else extern const char *program; +#endif extern char *starting_directory; extern unsigned int makelevel; extern char *version_string, *remote_description, *make_host; |