about summary refs log tree commit diff
path: root/sysdeps/unix/make_errlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/make_errlist.c')
-rw-r--r--sysdeps/unix/make_errlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/make_errlist.c b/sysdeps/unix/make_errlist.c
index 40b4f820c0..705dcfe88a 100644
--- a/sysdeps/unix/make_errlist.c
+++ b/sysdeps/unix/make_errlist.c
@@ -31,7 +31,7 @@ main ()
   puts ("#include \"ansidecl.h\"\n#include <stddef.h>\n");
   puts ("\n/* This is a list of all known `errno' codes.  */\n");
 
-  puts ("#ifndef HAVE_GNU_LD");
+  puts ("#ifndef HAVE_WEAK_SYMBOLS");
   puts ("#define _sys_nerr\tsys_nerr");
   puts ("#define _sys_errlist\tsys_errlist");
   puts ("#endif");