about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--string/bits/string2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/string/bits/string2.h b/string/bits/string2.h
index db6ba97bbc..9d31e16163 100644
--- a/string/bits/string2.h
+++ b/string/bits/string2.h
@@ -1225,7 +1225,7 @@ __strsep_g (char **__s, __const char *__reject)
 			  __retval; }))					      \
 		  : __strndup ((s), (n))))
 
-#  ifdef __GNU_SOURCE
+#  ifdef __USE_GNU
 #   define strndup(s, n) __strndup ((s), (n))
 #  endif
 # endif