Skip to content
Myr

Fix environ Win32 build problem

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Nicolas Williams · committed by Nicolas Williams · parent 8ea21a5 · Browse files · 2 files+3 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+3 added−3 removed

  • other:+3 added−3 removed

2 files+3 added−3 removed

modified:src/builtin.c+1 added-1 removed
1011 unmodified lines
1012}10131014// FIXME Should autoconf check for this!1015#ifndef WIN321016extern const char **environ;1016extern char **environ;1017#endif10181019static jv f_env(jq_state *jq, jv input) {1020 jv_free(input);
607 unmodified lines
modified:src/compile.c+2 added-2 removed
996 unmodified lines
997 }998 return n;999}10001001#ifdef WIN321002extern const char **environ;1001#ifndef WIN321002extern char **environ;1003#endif10041005static jv1006make_env(jv env)
272 unmodified lines