summaryrefslogtreecommitdiff
path: root/ext/posix
diff options
context:
space:
mode:
Diffstat (limited to 'ext/posix')
-rw-r--r--ext/posix/php_posix.h2
-rw-r--r--ext/posix/posix.c2
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>