Fix environ Win32 build problem

This commit is contained in:
Nicolas Williams committed 2017-02-26 18:06:35 -06:00
1 parent 8ea21a54ad
commit 0337027d54
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -1013,7 +1013,7 @@ static jv f_error(jq_state *jq, jv input, jv msg) {
// FIXME Should autoconf check for this!
#ifndef WIN32
extern const char **environ;
extern char **environ;
#endif
static jv f_env(jq_state *jq, jv input) {
+2 -2
View File
@@ -998,8 +998,8 @@ static int count_cfunctions(block b) {
return n;
}
#ifdef WIN32
extern const char **environ;
#ifndef WIN32
extern char **environ;
#endif
static jv