summaryrefslogtreecommitdiff
path: root/include/libc-internal.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-19 10:02:23 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-19 10:02:23 +0000
commit537494b031b3df4d4861fd83c90302d8d2d9d821 (patch)
treeafd78f28cd113e340ecf5268a8db01e4b2da54dc /include/libc-internal.h
parentb83bc367b70aec3c94e85183844a465169cbd333 (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/libc-internal.h')
-rw-r--r--include/libc-internal.h11
1 files changed, 11 insertions, 0 deletions
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