summaryrefslogtreecommitdiff
path: root/main/php_reentrancy.h
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-04-16 16:32:51 +0000
committerSascha Schumann <sas@php.net>2000-04-16 16:32:51 +0000
commit93135c8b3246fee41db89c377828ccad232355d8 (patch)
tree48084bf12dcb0297cb35252c771d5b3ad2ae527e /main/php_reentrancy.h
parent1b7bfe5bbf6837e0f674a1ec6112e21695d0047a (diff)
downloadphp-git-93135c8b3246fee41db89c377828ccad232355d8.tar.gz
Undefine HAVE_*_R, so that we get our replacements
Diffstat (limited to 'main/php_reentrancy.h')
-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