summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/features.h1
-rw-r--r--include/libc-internal.h11
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