aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeCustom.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2017-11-16 17:57:38 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2017-11-16 17:57:38 -0500
commit09a777447a858a01ac4d547d678ba295d9542c3b (patch)
treebd5407a1185599f2ca0aa2d7568561e8c54039eb /src/backend/executor/nodeCustom.c
parent687f096ea9da82d267f1809a5f3fdfa027092045 (diff)
downloadpostgresql-09a777447a858a01ac4d547d678ba295d9542c3b.tar.gz
postgresql-09a777447a858a01ac4d547d678ba295d9542c3b.zip
Clean up warnings in MinGW builds.
Experimentation with modern MinGW (specifically the 5.0.2 version packaged for Fedora 26) shows that its version of sys/stat.h *does* provide S_IRGRP and friends, contrary to the expectation of win32_port.h. This results in an astonishing number of compiler warnings, and perhaps in incorrect code --- I'm not sure if the nonzero values supplied by MinGW's header actually do anything. Hence, adjust win32_port.h to only define these macros if <sys/stat.h> doesn't. This might be worth back-patching, but given the lack of complaints so far, I'm not too excited about it.
Diffstat (limited to 'src/backend/executor/nodeCustom.c')
0 files changed, 0 insertions, 0 deletions