5 /* Major and minor version number of the uClibc library package. Use
6 these macros to test for features in specific releases. */
8 #define __UCLIBC_MAJOR__ 9
9 #define __UCLIBC_MINOR__ 5
11 /* There is an unwholesomely huge amount of code out there that depends on the
12 * presence of GNU libc header files. We have GNU libc header files. So here
13 * we commit a horrible sin. At this point, we _lie_ and claim to be GNU libc
14 * to make things like /usr/include/linux/socket.h and lots of apps work as
15 * their developers intended. This is IMHO, pardonable, since these defines
16 * are not really intended to check for the presence of a particular library,
17 * but rather are used to define an _interface_. */
18 #if !defined _LIBC || defined __FORCE_GLIBC__
19 # define __GNU_LIBRARY__ 6
21 # define __GLIBC_MINOR__ 1
24 /* Make a half-hearted attempt to accomodate non-gcc compilers */
26 #define __attribute(foo) /* Ignore */
29 /* __restrict is known in EGCS 1.2 and above. */
30 #if !defined __GNUC__ || __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 92)
31 # define __restrict /* Ignore */
78 #undef __KERNEL_STRICT_NAMES
79 #ifndef _LOOSE_KERNEL_NAMES
80 # define __KERNEL_STRICT_NAMES
87 #include <sys/cdefs.h>
89 #define __need_uClibc_config_h
90 #include <bits/uClibc_config.h>
91 #undef __need_uClibc_config_h
94 #if 1 /* This only works with GNU ld, but that is what we use 'round these parts */
95 #define link_warning(symbol, msg) \
96 asm (".section " ".gnu.warning." #symbol "\n\t.previous"); \
97 static const char __evoke_link_warning_##symbol[] \
98 __attribute__ ((section (".gnu.warning." #symbol "\n\t#"))) = msg;
100 # define link_warning(symbol, msg)