summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/i386
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-06-24 17:23:54 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-06-24 17:23:54 +0000
commita7f47450c0e41dc209132b614d36bd58041ec00d (patch)
tree54a2128730d16413602b148ceec762ea17ba75b9 /libc/sysdeps/linux/i386
parentf2410a178fd7ffafd9c71549527007d9dfc7b6ed (diff)
- make sure to define _LIBC in libc-symbols.h before including anything
else. - internal_function is only used inside libc, so do not define it in uClibc_arch_features.h on i386 if we are outside of libc.
Diffstat (limited to 'libc/sysdeps/linux/i386')
-rw-r--r--libc/sysdeps/linux/i386/bits/uClibc_arch_features.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/i386/bits/uClibc_arch_features.h b/libc/sysdeps/linux/i386/bits/uClibc_arch_features.h
index d08ac0bd7..1744a902f 100644
--- a/libc/sysdeps/linux/i386/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/i386/bits/uClibc_arch_features.h
@@ -42,6 +42,8 @@
/* define if target supports IEEE signed zero floats */
#define __UCLIBC_HAVE_SIGNED_ZERO__
+#if defined _LIBC
#define internal_function __attribute__ ((regparm (3), stdcall))
+#endif
#endif /* _BITS_UCLIBC_ARCH_FEATURES_H */