summaryrefslogtreecommitdiff
path: root/main/php_reentrancy.h
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2001-05-20 21:29:55 +0000
committerSascha Schumann <sas@php.net>2001-05-20 21:29:55 +0000
commitff5a9de31d886f6b052eedaad28f39a878ec55b4 (patch)
tree7204010e804527cc27aa9a56a17e15457ac21c4f /main/php_reentrancy.h
parent7dfce52fdc73147b783b50e2ef3ff9944b84f02c (diff)
downloadphp-git-ff5a9de31d886f6b052eedaad28f39a878ec55b4.tar.gz
Support for IRIX-style asctime_r/ctime_r.
Diffstat (limited to 'main/php_reentrancy.h')
-rw-r--r--main/php_reentrancy.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/php_reentrancy.h b/main/php_reentrancy.h
index 691392f7c9..8e9c674a14 100644
--- a/main/php_reentrancy.h
+++ b/main/php_reentrancy.h
@@ -36,8 +36,12 @@
#define HAVE_ASCTIME 1
#define HAVE_CTIME 1
+#if defined(PHP_IRIX_TIME_R)
+#undef HAVE_ASCTIME_R
+#undef HAVE_CTIME_R
+#endif
-#ifdef PHP_HPUX_TIME_R
+#if defined(PHP_HPUX_TIME_R)
#undef HAVE_LOCALTIME_R
#undef HAVE_ASCTIME_R
#undef HAVE_CTIME_R