Skip to content

Commit e9ca83c

Browse files
committed
Fix [-Wundef] warning in POSIX extension
1 parent 616bf74 commit e9ca83c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/posix/php_posix.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include "config.h"
2222
#endif
2323

24-
#if HAVE_POSIX
24+
#ifdef HAVE_POSIX
2525
#ifndef DLEXPORT
2626
#define DLEXPORT
2727
#endif

ext/posix/posix.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#include "php_posix.h"
2626
#include "posix_arginfo.h"
2727

28-
#if HAVE_POSIX
28+
#ifdef HAVE_POSIX
2929

3030
#ifdef HAVE_SYS_TIME_H
3131
#include <sys/time.h>

0 commit comments

Comments
 (0)