Don't declare environ on WIN32
This commit is contained in:
1 parent
061a604a2a
commit
ea0ffe24f8
1 file changed
+3
@@ -576,7 +576,10 @@ static jv f_error(jv input, jv msg) {
|
|||||||
return jv_invalid_with_msg(msg);
|
return jv_invalid_with_msg(msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// FIXME Should autoconf check for this!
|
||||||
|
#ifndef WIN32
|
||||||
extern const char **environ;
|
extern const char **environ;
|
||||||
|
#endif
|
||||||
|
|
||||||
static jv f_env(jv input) {
|
static jv f_env(jv input) {
|
||||||
jv_free(input);
|
jv_free(input);
|
||||||
|
|||||||
Reference in new issue
Block a user