Don't declare environ on WIN32

This commit is contained in:
Nicolas Williams committed 2014-06-16 22:34:37 -05:00
1 parent 061a604a2a
commit ea0ffe24f8
1 file changed
+3
+3
View File
@@ -576,7 +576,10 @@ static jv f_error(jv input, jv msg) {
return jv_invalid_with_msg(msg);
}
// FIXME Should autoconf check for this!
#ifndef WIN32
extern const char **environ;
#endif
static jv f_env(jv input) {
jv_free(input);