]> granicus.if.org Git - postgresql/commit
Build src/port/dirmod.c only on Windows.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 14 Mar 2015 18:08:45 +0000 (14:08 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 14 Mar 2015 18:08:45 +0000 (14:08 -0400)
commitc415c13b7ef68c7f8626f74a8e593af2a5a766b9
tree26010108578f0178aa53325ff4dba9ce370e3891
parentf50b5c7d0dfd997ec93c29d54dfe4f63a224ab23
Build src/port/dirmod.c only on Windows.

Since commit ba7c5975adea74c6f17bdb0e0427ad85962092a2, port/dirmod.c
has contained only Windows-specific functions.  Most platforms don't
seem to mind uselessly building an empty file, but OS X for one issues
warnings.  Hence, treat dirmod.c as a Windows-specific file selected
by configure rather than one that's always built.  We can revert this
change if dirmod.c ever gains any non-Windows functionality again.

Back-patch to 9.4 where the mentioned commit appeared.
configure
configure.in
src/include/port.h
src/port/Makefile