aboutsummaryrefslogtreecommitdiff
path: root/src/pl/plpython/plpython.h
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2019-10-07 16:28:56 +0200
committerPeter Eisentraut <peter@eisentraut.org>2019-10-07 16:47:23 +0200
commit400d5ffcafa65e0f742dd29de83b035b8ea27c4a (patch)
treee47759ebc02d3b05892ae6180307cc6f3c7325bb /src/pl/plpython/plpython.h
parent4d7e5a5db01edaff749555220aa41eb35be06799 (diff)
downloadpostgresql-400d5ffcafa65e0f742dd29de83b035b8ea27c4a.tar.gz
postgresql-400d5ffcafa65e0f742dd29de83b035b8ea27c4a.zip
Simplify PGAC_STRUCT_TIMEZONE Autoconf macro
Since 63bd0db12199c5df043e1dea0f2b574f622b3a4c 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
Diffstat (limited to 'src/pl/plpython/plpython.h')
-rw-r--r--src/pl/plpython/plpython.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/pl/plpython/plpython.h b/src/pl/plpython/plpython.h
index 3a1f0d56d7c..dc8fcee001c 100644
--- a/src/pl/plpython/plpython.h
+++ b/src/pl/plpython/plpython.h
@@ -28,7 +28,6 @@
*/
#undef _POSIX_C_SOURCE
#undef _XOPEN_SOURCE
-#undef HAVE_TZNAME
/*
* Sometimes python carefully scribbles on our *printf macros.