]> granicus.if.org Git - php/commitdiff
now when pspell/pspell.h is included, it will recognize
authorVlad Krupin <vlad@php.net>
Mon, 5 Feb 2001 18:15:31 +0000 (18:15 +0000)
committerVlad Krupin <vlad@php.net>
Mon, 5 Feb 2001 18:15:31 +0000 (18:15 +0000)
that it has to work in compatibility mode. (The previous fix
had the right idea, but was too far down in the source)

ext/pspell/pspell.c

index 958a3e36a6b51d12e3db0481fb105369afcc4e2f..3287f5a0bf0ce3cd0151d732d7ddd77a20da1568 100644 (file)
@@ -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)