Skip to content

Commit f64ae64

Browse files
committed
Remove PHP_DECLARED_TIMEZONE and HAVE_DECLARED_TIMEZONE
The HAVE_DECLARED_TIMEZONE symbol usage has been introduced in 2fd8cbf and then removed via 667a9b9.
1 parent ff31509 commit f64ae64

File tree

3 files changed

+0
-25
lines changed

3 files changed

+0
-25
lines changed

acinclude.m4

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1460,29 +1460,6 @@ AC_DEFUN([PHP_SOCKADDR_CHECKS], [
14601460
fi
14611461
])
14621462

1463-
dnl
1464-
dnl PHP_DECLARED_TIMEZONE
1465-
dnl
1466-
AC_DEFUN([PHP_DECLARED_TIMEZONE],[
1467-
AC_CACHE_CHECK(for declared timezone, ac_cv_declared_timezone,[
1468-
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
1469-
#include <sys/types.h>
1470-
#include <time.h>
1471-
#ifdef HAVE_SYS_TIME_H
1472-
#include <sys/time.h>
1473-
#endif
1474-
]],[[
1475-
time_t foo = (time_t) timezone;
1476-
]])],[
1477-
ac_cv_declared_timezone=yes
1478-
],[
1479-
ac_cv_declared_timezone=no
1480-
])])
1481-
if test "$ac_cv_declared_timezone" = "yes"; then
1482-
AC_DEFINE(HAVE_DECLARED_TIMEZONE, 1, [Whether system headers declare timezone])
1483-
fi
1484-
])
1485-
14861463
dnl
14871464
dnl PHP_EBCDIC
14881465
dnl

configure.ac

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,6 @@ fi
735735

736736
AC_REPLACE_FUNCS(strlcat strlcpy explicit_bzero getopt)
737737
AC_FUNC_ALLOCA
738-
PHP_DECLARED_TIMEZONE
739738
PHP_TIME_R_TYPE
740739
PHP_READDIR_R_TYPE
741740
PHP_CHECK_IN_ADDR_T

main/php.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@
8080
/* Windows specific defines */
8181
#ifdef PHP_WIN32
8282
# define PHP_PROG_SENDMAIL "Built in mailer"
83-
# define HAVE_DECLARED_TIMEZONE
8483
# define WIN32_LEAN_AND_MEAN
8584
# define NOOPENFILE
8685

0 commit comments

Comments
 (0)