diff options
Diffstat (limited to 'libc/misc')
-rw-r--r-- | libc/misc/regex/regex.c | 1 | ||||
-rw-r--r-- | libc/misc/wchar/wstdio.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/libc/misc/regex/regex.c b/libc/misc/regex/regex.c index 5f2e90da3..0d4cabe83 100644 --- a/libc/misc/regex/regex.c +++ b/libc/misc/regex/regex.c @@ -26,6 +26,7 @@ #define memcmp __memcmp #define strcmp __strcmp #define strlen __strlen +#define wcslen __wcslen /* for some reason this does not work */ #define memcpy __memcpy diff --git a/libc/misc/wchar/wstdio.c b/libc/misc/wchar/wstdio.c index b49494f35..55acc7187 100644 --- a/libc/misc/wchar/wstdio.c +++ b/libc/misc/wchar/wstdio.c @@ -49,6 +49,7 @@ * Should auto_wr_transition init the mbstate object? */ +#define wcslen __wcslen #define _GNU_SOURCE #include <stdio.h> |