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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Be consistent about #define'ing configure symbols as "1" not emp
Дата
Msg-id E1UnuxB-00012b-Cs@gemulon.postgresql.org
обсуждение исходный текст
Список 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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Add :client_id automatic variable for custom pgbench scripts.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Use SA_RESTART for all signals, including SIGALRM.