summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/php_reentrancy.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/main/php_reentrancy.h b/main/php_reentrancy.h
index 6a1992d623..8b6ce5e8e1 100644
--- a/main/php_reentrancy.h
+++ b/main/php_reentrancy.h
@@ -33,6 +33,13 @@
#define HAVE_CTIME 1
+#ifdef PHP_HPUX_TIME_R
+#undef HAVE_LOCALTIME_R
+#undef HAVE_ASCTIME_R
+#undef HAVE_CTIME_R
+#undef HAVE_GMTIME_R
+#endif
+
#if !defined(HAVE_LOCALTIME_R) && defined(HAVE_LOCALTIME)
#define PHP_NEED_REENTRANCY 1
#define localtime_r php_localtime_r