OSDN Git Service

disable hidden_proto/def for __BCC__ generally
authorPeter S. Mazinger <ps.m@gmx.net>
Fri, 3 Feb 2006 16:12:58 +0000 (16:12 -0000)
committerPeter S. Mazinger <ps.m@gmx.net>
Fri, 3 Feb 2006 16:12:58 +0000 (16:12 -0000)
include/libc-symbols.h
libc/unistd/getopt-susv3.c

index a9dd31b..e1d1b19 100644 (file)
 # define __hidden_proto_hiddenattr(attrs...)
 #endif
 
-#ifndef STATIC
+#if !defined STATIC && !defined __BCC__
 # ifndef __ASSEMBLER__
 #  define hidden_proto(name, attrs...) __hidden_proto (name, __GI_##name, ##attrs)
 #  define __hidden_proto(name, internal, attrs...) \
index 6f93e43..0d57dce 100644 (file)
 #include <string.h>
 #include <stdio.h>
 
-#ifndef __BCC__
 libc_hidden_proto(fprintf)
 libc_hidden_proto(strchr)
 libc_hidden_proto(stderr)
-#endif
 
 #ifdef __UCLIBC_MJN3_ONLY__
 #warning TODO: Enable gettext awareness.