diff options
author | George Peter Banyard <girgias@php.net> | 2020-05-20 14:00:14 +0200 |
---|---|---|
committer | George Peter Banyard <girgias@php.net> | 2020-05-20 14:01:11 +0200 |
commit | f677251ceb278c771ec1c6a17fc8674efea60f42 (patch) | |
tree | 77a78135cfcc7bcacc0c26974203ef1db33f91e9 /ext/posix | |
parent | 616bf439789e3c6d2f0d99a94dca9921818955c2 (diff) | |
download | php-git-f677251ceb278c771ec1c6a17fc8674efea60f42.tar.gz |
Fix [-Wundef] warning in POSIX extension
Diffstat (limited to 'ext/posix')
-rw-r--r-- | ext/posix/php_posix.h | 2 | ||||
-rw-r--r-- | ext/posix/posix.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/posix/php_posix.h b/ext/posix/php_posix.h index 55a096dc59..590d613bd4 100644 --- a/ext/posix/php_posix.h +++ b/ext/posix/php_posix.h @@ -21,7 +21,7 @@ #include "config.h" #endif -#if HAVE_POSIX +#ifdef HAVE_POSIX #ifndef DLEXPORT #define DLEXPORT #endif diff --git a/ext/posix/posix.c b/ext/posix/posix.c index 8c48f32acc..c623b5406f 100644 --- a/ext/posix/posix.c +++ b/ext/posix/posix.c @@ -25,7 +25,7 @@ #include "php_posix.h" #include "posix_arginfo.h" -#if HAVE_POSIX +#ifdef HAVE_POSIX #ifdef HAVE_SYS_TIME_H #include <sys/time.h> |