diff options
author | Vlad Krupin <vlad@php.net> | 2001-02-05 18:15:31 +0000 |
---|---|---|
committer | Vlad Krupin <vlad@php.net> | 2001-02-05 18:15:31 +0000 |
commit | ee668c5881eb1ad42c627e7a2ed77e947566ed23 (patch) | |
tree | aea5d912f864e93450fc28e5b4f59e0f93b6d91c /ext/pspell | |
parent | 1b2387102d9a554c84469ab99a15415a33acb151 (diff) | |
download | php-git-ee668c5881eb1ad42c627e7a2ed77e947566ed23.tar.gz |
now when pspell/pspell.h is included, it will recognize
that it has to work in compatibility mode. (The previous fix
had the right idea, but was too far down in the source)
Diffstat (limited to 'ext/pspell')
-rw-r--r-- | ext/pspell/pspell.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/pspell/pspell.c b/ext/pspell/pspell.c index 958a3e36a6..3287f5a0bf 100644 --- a/ext/pspell/pspell.c +++ b/ext/pspell/pspell.c @@ -28,6 +28,9 @@ #if HAVE_PSPELL +/* this will enforce compatibility in .12 version (broken after .11.2) */ +#define USE_ORIGINAL_MANAGER_FUNCS + #include "php_pspell.h" #include <pspell/pspell.h> #include "ext/standard/info.h" @@ -37,7 +40,6 @@ #define PSPELL_BAD_SPELLERS 3L #define PSPELL_SPEED_MASK_INTERNAL 3L #define PSPELL_RUN_TOGETHER 8L -#define USE_ORIGINAL_MANAGER_FUNCS 1L function_entry pspell_functions[] = { PHP_FE(pspell_new, NULL) |