pgsql: Be consistent about #define'ing configure symbols as "1" not emp

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Be consistent about #define'ing configure symbols as "1" not emp
Date: 2013-06-15 18:11:57
Message-ID: E1UnuxB-00012b-Cs@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Be consistent about #define'ing configure symbols as "1" not empty.

This is just neatnik-ism, since all the tests in the code are #ifdefs,
but we shouldn't specify symbols as "Define to 1 ..." and then not
actually define them that way.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/5242fefb471d1fb2d0f35a33bde3570e19acd4b1

Modified Files
--------------
config/c-library.m4 | 15 ++++++++++-----
configure | 12 ++++++------
configure.in | 2 +-
src/include/pg_config.h.win32 | 4 ++--
4 files changed, 19 insertions(+), 14 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2013-06-15 19:40:17 pgsql: Use SA_RESTART for all signals, including SIGALRM.
Previous Message Heikki Linnakangas 2013-06-14 20:41:28 pgsql: Add :client_id automatic variable for custom pgbench scripts.