mirror of
https://github.com/php/php-src.git
synced 2026-04-29 19:23:22 +02:00
Allow Spoofchecker to be registered on ICU 49.1
This commit is contained in:
+2
-2
@@ -70,7 +70,7 @@
|
|||||||
|
|
||||||
#include "idn/idn.h"
|
#include "idn/idn.h"
|
||||||
|
|
||||||
#if U_ICU_VERSION_MAJOR_NUM > 3 && U_ICU_VERSION_MINOR_NUM >=2
|
#if U_ICU_VERSION_MAJOR_NUM * 1000 + U_ICU_VERSION_MINOR_NUM >= 4002
|
||||||
# include "spoofchecker/spoofchecker_class.h"
|
# include "spoofchecker/spoofchecker_class.h"
|
||||||
# include "spoofchecker/spoofchecker.h"
|
# include "spoofchecker/spoofchecker.h"
|
||||||
# include "spoofchecker/spoofchecker_create.h"
|
# include "spoofchecker/spoofchecker_create.h"
|
||||||
@@ -646,7 +646,7 @@ PHP_MINIT_FUNCTION( intl )
|
|||||||
/* Expose IDN constants to PHP scripts. */
|
/* Expose IDN constants to PHP scripts. */
|
||||||
idn_register_constants(INIT_FUNC_ARGS_PASSTHRU);
|
idn_register_constants(INIT_FUNC_ARGS_PASSTHRU);
|
||||||
|
|
||||||
#if U_ICU_VERSION_MAJOR_NUM > 3 && U_ICU_VERSION_MINOR_NUM >=2
|
#if U_ICU_VERSION_MAJOR_NUM * 1000 + U_ICU_VERSION_MINOR_NUM >= 4002
|
||||||
/* Register 'Spoofchecker' PHP class */
|
/* Register 'Spoofchecker' PHP class */
|
||||||
spoofchecker_register_Spoofchecker_class( TSRMLS_C );
|
spoofchecker_register_Spoofchecker_class( TSRMLS_C );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user