summary refs log tree commit diff
path: root/wcsmbs/bits/wchar2.h
diff options
context:
space:
mode:
Diffstat (limited to 'wcsmbs/bits/wchar2.h')
-rw-r--r--wcsmbs/bits/wchar2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wcsmbs/bits/wchar2.h b/wcsmbs/bits/wchar2.h
index 25d06d433f..0e017f458b 100644
--- a/wcsmbs/bits/wchar2.h
+++ b/wcsmbs/bits/wchar2.h
@@ -457,7 +457,7 @@ __NTH (wcsrtombs (char *__restrict __dst, const wchar_t **__restrict __src,
 }
 
 
-#ifdef __USE_GNU
+#ifdef	__USE_XOPEN2K8
 extern size_t __mbsnrtowcs_chk (wchar_t *__restrict __dst,
 				const char **__restrict __src, size_t __nmc,
 				size_t __len, mbstate_t *__restrict __ps,