From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Build src/port/dirmod.c only on Windows. |
Date: | 2015-03-14 18:08:55 |
Message-ID: | E1YWqUZ-0002OP-73@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/91f4a5a976500517e492320e389342d7436cf9d4
Modified Files
--------------
configure | 6 ++++++
configure.in | 1 +
src/include/port.h | 2 +-
src/port/Makefile | 2 +-
4 files changed, 9 insertions(+), 2 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2015-03-14 20:23:03 | Re: pgsql: Add GUC to enable compression of full page images stored in WAL. |
Previous Message | Tom Lane | 2015-03-14 17:43:35 | pgsql: Remove workaround for ancient incompatibility between readline a |