mirror of
https://github.com/mirror/make.git
synced 2025-02-05 01:00:11 +08:00
Fix compilation on MS-Windows.
* makeint.h [WINDOWS32]: Don't declare 'program' as 'const char *', since it is modified in 'main'.
This commit is contained in:
parent
faeeb27166
commit
241787d8e4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user