mirror of
https://github.com/php/php-src.git
synced 2026-04-24 00:18:23 +02:00
Win32 build gets confused by expansion of U_STRING_DECL macro with constants
This commit is contained in:
+2
-2
@@ -238,8 +238,8 @@ static void php_is_type(INTERNAL_FUNCTION_PARAMETERS, int type)
|
||||
/* We can get away with this because INCOMPLETE_CLASS is ascii and has a 1:1 relationship with unicode */
|
||||
RETURN_TRUE;
|
||||
} else if (UG(unicode)) {
|
||||
U_STRING_DECL(uIncompleteClass, INCOMPLETE_CLASS, sizeof(INCOMPLETE_CLASS) - 1);
|
||||
U_STRING_INIT(uIncompleteClass, INCOMPLETE_CLASS, sizeof(INCOMPLETE_CLASS) - 1);
|
||||
U_STRING_DECL(uIncompleteClass, (INCOMPLETE_CLASS), sizeof(INCOMPLETE_CLASS) - 1);
|
||||
U_STRING_INIT(uIncompleteClass, (INCOMPLETE_CLASS), sizeof(INCOMPLETE_CLASS) - 1);
|
||||
|
||||
if (!memcmp(ce->name.u, uIncompleteClass, UBYTES(sizeof(INCOMPLETE_CLASS)))) {
|
||||
RETURN_FALSE;
|
||||
|
||||
Reference in New Issue
Block a user