summaryrefslogtreecommitdiff
path: root/sapi/fpm/fpm/events/port.c
diff options
context:
space:
mode:
Diffstat (limited to 'sapi/fpm/fpm/events/port.c')
-rw-r--r--sapi/fpm/fpm/events/port.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/sapi/fpm/fpm/events/port.c b/sapi/fpm/fpm/events/port.c
index 1ffcd20a0d..d9aee3bfcd 100644
--- a/sapi/fpm/fpm/events/port.c
+++ b/sapi/fpm/fpm/events/port.c
@@ -1,7 +1,5 @@
/*
+----------------------------------------------------------------------+
- | PHP Version 7 |
- +----------------------------------------------------------------------+
| Copyright (c) The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
@@ -21,7 +19,7 @@
#include "../fpm.h"
#include "../zlog.h"
-#if HAVE_PORT
+#ifdef HAVE_PORT
#include <port.h>
#include <poll.h>
@@ -51,7 +49,7 @@ static int pfd = -1;
struct fpm_event_module_s *fpm_event_port_module() /* {{{ */
{
-#if HAVE_PORT
+#ifdef HAVE_PORT
return &port_module;
#else
return NULL;
@@ -59,7 +57,7 @@ struct fpm_event_module_s *fpm_event_port_module() /* {{{ */
}
/* }}} */
-#if HAVE_PORT
+#ifdef HAVE_PORT
/*
* Init the module