diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-01-19 10:02:23 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-01-19 10:02:23 +0000 |
commit | 537494b031b3df4d4861fd83c90302d8d2d9d821 (patch) | |
tree | afd78f28cd113e340ecf5268a8db01e4b2da54dc /include | |
parent | b83bc367b70aec3c94e85183844a465169cbd333 (diff) |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/features.h | 1 | ||||
-rw-r--r-- | include/libc-internal.h | 11 |
2 files changed, 12 insertions, 0 deletions
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 <bits/uClibc_config.h> #undef __need_uClibc_config_h +#include <bits/uClibc_arch_features.h> #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 <features.h> +#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 |