summaryrefslogtreecommitdiff
path: root/main/php.h
diff options
context:
space:
mode:
authorGeorge Peter Banyard <girgias@php.net>2020-05-12 17:50:35 +0200
committerGeorge Peter Banyard <girgias@php.net>2020-05-12 22:01:00 +0200
commit1df3f97c215bab21a6dd14a9c2e564dc2dbc3123 (patch)
tree3d928142ab5345a1b0301dab207f104df8f9b1cb /main/php.h
parent3689807998e7202b68babfbdbdb32f0423d4886a (diff)
downloadphp-git-1df3f97c215bab21a6dd14a9c2e564dc2dbc3123.tar.gz
Fix [-Wundef] warning in main folder
Diffstat (limited to 'main/php.h')
-rw-r--r--main/php.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/php.h b/main/php.h
index 87f7d000f9..b6d9669be4 100644
--- a/main/php.h
+++ b/main/php.h
@@ -126,7 +126,7 @@ typedef int pid_t;
#endif
#include <assert.h>
-#if HAVE_UNIX_H
+#ifdef HAVE_UNIX_H
#include <unix.h>
#endif
@@ -293,10 +293,10 @@ END_EXTERN_C()
#define php_ignore_value(x) ZEND_IGNORE_VALUE(x)
/* global variables */
-#if !defined(PHP_WIN32)
+#ifndef PHP_WIN32
#define php_sleep sleep
extern char **environ;
-#endif /* !defined(PHP_WIN32) */
+#endif /* ifndef PHP_WIN32 */
#ifdef PHP_PWRITE_64
ssize_t pwrite(int, void *, size_t, off64_t);