mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-31 14:01:18 +08:00
(main): Don't generate "#ifdef HAVE_WEAK_SYMBOLS" #defns.
This commit is contained in:
parent
5fa2588651
commit
2657da50f0
@ -31,11 +31,6 @@ 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_WEAK_SYMBOLS");
|
||||
puts ("#define _sys_nerr\tsys_nerr");
|
||||
puts ("#define _sys_errlist\tsys_errlist");
|
||||
puts ("#endif");
|
||||
|
||||
printf ("\nCONST int _sys_nerr = %d;\n\n", sys_nerr);
|
||||
puts ("CONST char *CONST _sys_errlist[] =\n {");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user