Skip to content

Commit 616bf74

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

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/pspell/php_pspell.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
#ifndef _PSPELL_H
1818
#define _PSPELL_H
19-
#if HAVE_PSPELL
19+
#ifdef HAVE_PSPELL
2020
extern zend_module_entry pspell_module_entry;
2121
#define pspell_module_ptr &pspell_module_entry
2222

ext/pspell/pspell.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#include <ctype.h>
2525
#include <stdio.h>
2626

27-
#if HAVE_PSPELL
27+
#ifdef HAVE_PSPELL
2828

2929
/* this will enforce compatibility in .12 version (broken after .11.2) */
3030
#define USE_ORIGINAL_MANAGER_FUNCS

0 commit comments

Comments
 (0)