diff options
Diffstat (limited to 'libc/stdio-common')
-rw-r--r-- | libc/stdio-common/scanf15.c | 1 | ||||
-rw-r--r-- | libc/stdio-common/scanf17.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/libc/stdio-common/scanf15.c b/libc/stdio-common/scanf15.c index c56715c48..851466b3a 100644 --- a/libc/stdio-common/scanf15.c +++ b/libc/stdio-common/scanf15.c @@ -1,5 +1,6 @@ #undef _GNU_SOURCE #define _XOPEN_SOURCE 600 +#undef _LIBC /* The following macro definitions are a hack. They word around disabling the GNU extension while still using a few internal headers. */ #define u_char unsigned char diff --git a/libc/stdio-common/scanf17.c b/libc/stdio-common/scanf17.c index ee9024f9b..4478a7022 100644 --- a/libc/stdio-common/scanf17.c +++ b/libc/stdio-common/scanf17.c @@ -1,5 +1,6 @@ #undef _GNU_SOURCE #define _XOPEN_SOURCE 600 +#undef _LIBC /* The following macro definitions are a hack. They word around disabling the GNU extension while still using a few internal headers. */ #define u_char unsigned char |