Fix environ Win32 build problem
This commit is contained in:
1 parent
8ea21a54ad
commit
0337027d54
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -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
@@ -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
|
||||
|
||||
Reference in new issue
Block a user