From 537494b031b3df4d4861fd83c90302d8d2d9d821 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 19 Jan 2006 10:02:23 +0000 Subject: move a bunch of arch-specific checks out of common files and into an arch specific header file to make porting/updates a lot easier --- include/features.h | 1 + include/libc-internal.h | 11 +++++++++++ 2 files changed, 12 insertions(+) (limited to 'include') diff --git a/include/features.h b/include/features.h index 0f4921b9f..ec807d523 100644 --- a/include/features.h +++ b/include/features.h @@ -293,6 +293,7 @@ #define __need_uClibc_config_h #include #undef __need_uClibc_config_h +#include #ifdef __UCLIBC_HAS_WCHAR__ /* wchar_t uses ISO 10646-1 (2nd ed., published 2000-09-15) / Unicode 3.0. */ diff --git a/include/libc-internal.h b/include/libc-internal.h index 53fc0ae62..265a90023 100644 --- a/include/libc-internal.h +++ b/include/libc-internal.h @@ -21,6 +21,17 @@ #include +#ifdef __UCLIBC_NO_UNDERSCORES__ +# define NO_UNDERSCORES +#else +# undef NO_UNDERSCORES +#endif +#ifdef __UCLIBC_HAVE_ASM_SET_DIRECTIVE__ +# define HAVE_ASM_SET_DIRECTIVE +#else +# undef HAVE_ASM_SET_DIRECTIVE +#endif + #undef __SYMBOL_PREFIX #ifndef __SYMBOL_PREFIX # ifdef NO_UNDERSCORES -- cgit v1.2.3