diff options
author | Nicolas Williams <nico@cryptonector.com> | 2014-06-16 22:33:24 -0500 |
---|---|---|
committer | Nicolas Williams <nico@cryptonector.com> | 2014-06-16 22:34:37 -0500 |
commit | ea0ffe24f8f7186ee40ba2b5437d8f8f85844017 (patch) | |
tree | 440e40b7b87a2728cc168dbc99b82bff7f3fba79 | |
parent | 061a604a2a65bb49cd5dcc5df2e913d0b1571e33 (diff) |
Don't declare environ on WIN32
-rw-r--r-- | builtin.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |