summaryrefslogtreecommitdiff
path: root/src/inttypes/wcstoumax.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/inttypes/wcstoumax.c')
-rw-r--r--src/inttypes/wcstoumax.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/inttypes/wcstoumax.c b/src/inttypes/wcstoumax.c
index f19ab877..57140024 100644
--- a/src/inttypes/wcstoumax.c
+++ b/src/inttypes/wcstoumax.c
@@ -1,14 +1,16 @@
-#if 0
-
#include <stddef.h>
#include <errno.h>
#include <inttypes.h>
#include <wctype.h>
+#include "_safety.h"
+#undef wcstoumax
#define isspace iswspace
uintmax_t wcstoumax(const wchar_t * restrict nptr, wchar_t ** restrict endptr, int base)
{
+ SIGNAL_SAFE(0);
+
uintmax_t ret = 0;
uintmax_t max = UINTMAX_MAX;
uintmax_t min = 0;
@@ -21,6 +23,3 @@ uintmax_t wcstoumax(const wchar_t * restrict nptr, wchar_t ** restrict endptr, i
/*
STDC(199901)
*/
-
-
-#endif