1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-25 12:03:53 +03:00

Simplify PGAC_STRUCT_TIMEZONE Autoconf macro

Since 63bd0db121 we don't use tzname
anymore, so we don't need to check for it.  Instead, just keep the
part of PGAC_STRUCT_TIMEZONE that we need, which is the check for
struct tm.tm_zone.

Discussion: https://www.postgresql.org/message-id/flat/5eb11a37-f3ca-5fb7-308f-4485dec25a2e%402ndquadrant.com
This commit is contained in:
Peter Eisentraut
2019-10-07 16:28:56 +02:00
parent 4d7e5a5db0
commit 400d5ffcaf
5 changed files with 7 additions and 123 deletions

View File

@@ -28,7 +28,6 @@
*/
#undef _POSIX_C_SOURCE
#undef _XOPEN_SOURCE
#undef HAVE_TZNAME
/*
* Sometimes python carefully scribbles on our *printf macros.