about summary refs log tree commit diff
path: root/wcsmbs/wcstoul_l.c
diff options
context:
space:
mode:
Diffstat (limited to 'wcsmbs/wcstoul_l.c')
-rw-r--r--wcsmbs/wcstoul_l.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/wcsmbs/wcstoul_l.c b/wcsmbs/wcstoul_l.c
index 98dc8204ec..2c61d41777 100644
--- a/wcsmbs/wcstoul_l.c
+++ b/wcsmbs/wcstoul_l.c
@@ -16,6 +16,9 @@
    License along with the GNU C Library; if not, see
    <https://www.gnu.org/licenses/>.  */
 
+#include <features.h>
+#undef __GLIBC_USE_C2X_STRTOL
+#define __GLIBC_USE_C2X_STRTOL 0
 #define __need_wchar_t
 #include <stddef.h>
 #include <locale.h>