summaryrefslogtreecommitdiff
path: root/main/php.h
diff options
context:
space:
mode:
authorStig Bakken <ssb@php.net>1999-11-08 09:18:57 +0000
committerStig Bakken <ssb@php.net>1999-11-08 09:18:57 +0000
commit63d47b7735967a6b7c6c8f31e3bdf379c969b5da (patch)
treeb215b16324b606602c4b26b50ddc66bcdbb883a4 /main/php.h
parentd1ecda53b73a0b9ac297558d9ed0a38b76b47491 (diff)
downloadphp-git-63d47b7735967a6b7c6c8f31e3bdf379c969b5da.tar.gz
(PHP tempnam) now uses mkstemp() if available
@- tempnam() now uses mkstemp() if available (Stig)
Diffstat (limited to 'main/php.h')
-rw-r--r--main/php.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/php.h b/main/php.h
index 104983efb4..a778c5dff6 100644
--- a/main/php.h
+++ b/main/php.h
@@ -168,6 +168,10 @@ typedef zval pval;
extern char *strerror(int);
#endif
+#ifdef HAVE_MKSTEMP
+# define mktemp mkstemp
+#endif
+
#include "fopen-wrappers.h"
#if APACHE /* apache httpd */