mirror of
https://git.savannah.gnu.org/git/make.git
synced 2024-11-25 04:35:44 +00: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
1 changed files with 4 additions and 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;
|
||||
|
|
Loading…
Reference in a new issue