aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/jsonpath_exec.c
diff options
context:
space:
mode:
authorThomas Munro <tmunro@postgresql.org>2024-12-15 00:36:30 +1300
committerThomas Munro <tmunro@postgresql.org>2024-12-15 00:41:27 +1300
commit7bc9a8bdd2d6f6da664572456f226c54e9c9e3dd (patch)
tree20a61c99e5d5095e2de73e76270c4ce2b113a2b2 /src/backend/utils/adt/jsonpath_exec.c
parent48c142f78d90fcdcbc0557a4bcdc4f47ec32b333 (diff)
downloadpostgresql-7bc9a8bdd2d6f6da664572456f226c54e9c9e3dd.tar.gz
postgresql-7bc9a8bdd2d6f6da664572456f226c54e9c9e3dd.zip
Fix warnings about declaration of environ on MinGW.
POSIX says that the global variable environ shouldn't be declared in a header, and that you have to declare it yourself. MinGW declares it in <stdlib.h> with some macrology that messes up our declarations. Visual Studio doesn't warn (there are clues that it may also declare it, but if so, apparently compatibly). Suppress our declarations, on MinGW only. This clears the last warnings on CI's optional MinGW task, and hopefully on build farm animal fairywren too. Like 1319997d, no back-patch for now as it's not known to be breaking anything, and my humble goal is just to keep the MinGW build clean going forward. Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> (earlier version) Discussion: https://postgr.es/m/CA%2BhUKGJLMh%2B6W5E4M_jSFb43gnrA_-Q6-%2BBf3HkBXyGfRFcBsQ%40mail.gmail.com
Diffstat (limited to 'src/backend/utils/adt/jsonpath_exec.c')
0 files changed, 0 insertions, 0 deletions