Skip to content

Commit f0794c7

Browse files
committed
Fix [-Wundef] warning in SimpleXML extension
1 parent e5a7ab3 commit f0794c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/simplexml/simplexml.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#endif
2222

2323
#include "php.h"
24-
#if HAVE_LIBXML && HAVE_SIMPLEXML
24+
#if defined(HAVE_LIBXML) && defined(HAVE_SIMPLEXML)
2525

2626
#include "php_ini.h"
2727
#include "ext/standard/info.h"

0 commit comments

Comments
 (0)