aboutsummaryrefslogtreecommitdiffstats
path: root/main/opensmtpd/autoconf-decl-checks.patch
blob: c7823879e18fe8ba12a7d86a53e1c153396da81e (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/smtpd/to.c
+++ b/smtpd/to.c
@@ -210,7 +210,7 @@
 #if HAVE_STRUCT_TM_TM_GMTOFF
 	offset = lt->tm_gmtoff;
 	tz = lt->tm_zone;
-#elif defined HAVE_DECL_ALTZONE && defined HAVE_DECL_TIMEZONE
+#elif HAVE_DECL_ALTZONE && HAVE_DECL_TIMEZONE
 	offset = lt->tm_isdst > 0 ? altzone : timezone;
 	tz = lt->tm_isdst > 0 ? tzname[1] : tzname[0];
 #endif