diff options
Diffstat (limited to 'include/libc-internal.h')
-rw-r--r-- | include/libc-internal.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/libc-internal.h b/include/libc-internal.h index 8809bc042..443b1fc50 100644 --- a/include/libc-internal.h +++ b/include/libc-internal.h @@ -69,4 +69,12 @@ extern const char *__uclibc_progname attribute_hidden; #endif /* __ASSEMBLER__ */ +/* Some people like to build up uClibc with *-elf toolchains, so + * a little grease here until we drop '#ifdef __linux__' checks + * from our source code. + */ +#ifndef __linux__ +# define __linux__ 1 +#endif + #endif /* _LIBC_INTERNAL_H */ |