mirror of
https://github.com/php/php-src.git
synced 2025-08-19 17:04:47 +02:00
Fixed windows build.
Looking at the macro definition it seems that the second argument to U_STRING_DECL can only be a string literal, not an indetifier.
This commit is contained in:
parent
71613983c0
commit
56a821ec02
1 changed files with 3 additions and 2 deletions
|
@ -6777,8 +6777,9 @@ PHP_FUNCTION(sscanf)
|
||||||
|
|
||||||
static char rot13_from[] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
|
static char rot13_from[] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
|
||||||
static char rot13_to[] = "nopqrstuvwxyzabcdefghijklmNOPQRSTUVWXYZABCDEFGHIJKLM";
|
static char rot13_to[] = "nopqrstuvwxyzabcdefghijklmNOPQRSTUVWXYZABCDEFGHIJKLM";
|
||||||
U_STRING_DECL(u_rot13_from, rot13_from, sizeof(rot13_from)-1);
|
U_STRING_DECL(u_rot13_from, "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ", sizeof(rot13_from)-1);
|
||||||
U_STRING_DECL(u_rot13_to, rot13_to, sizeof(rot13_to)-1);
|
U_STRING_DECL(u_rot13_to, "nopqrstuvwxyzabcdefghijklmNOPQRSTUVWXYZABCDEFGHIJKLM", sizeof(rot13_to)-1);
|
||||||
|
|
||||||
|
|
||||||
/* {{{ proto string str_rot13(string str) U
|
/* {{{ proto string str_rot13(string str) U
|
||||||
Perform the rot13 transform on a string */
|
Perform the rot13 transform on a string */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue