summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/sparc/bits
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2009-03-27 04:03:20 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-10-12 19:24:32 +0200
commit3586f1c0ce94e766f0fc8d665fa76f8902e23773 (patch)
treea171b829771eafa8efd6e768e9d580d90d69a4dc /libc/sysdeps/linux/sparc/bits
parenta7cd0cf2a31493506795528125a1d87428b67374 (diff)
downloaduClibc-alpine-3586f1c0ce94e766f0fc8d665fa76f8902e23773.tar.bz2
uClibc-alpine-3586f1c0ce94e766f0fc8d665fa76f8902e23773.tar.xz
32/64 bit sparc got unified in 2.6.29 the way x86/x86_64 did in 2.6.28. The new guard symbol is "__SPARC_POSIX_TYPES_H".
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/sparc/bits')
-rw-r--r--libc/sysdeps/linux/sparc/bits/kernel_types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/sparc/bits/kernel_types.h b/libc/sysdeps/linux/sparc/bits/kernel_types.h
index 1b2452446..0cc4bc214 100644
--- a/libc/sysdeps/linux/sparc/bits/kernel_types.h
+++ b/libc/sysdeps/linux/sparc/bits/kernel_types.h
@@ -4,9 +4,10 @@
* our private content, and not the kernel header, will win.
* -Erik
*/
-#if ! defined __ARCH_SPARC_POSIX_TYPES_H && ! defined __ARCH_SPARC64_POSIX_TYPES_H
+#if ! defined __ARCH_SPARC_POSIX_TYPES_H && ! defined __ARCH_SPARC64_POSIX_TYPES_H && !defined __SPARC_POSIX_TYPES_H
#define __ARCH_SPARC_POSIX_TYPES_H
#define __ARCH_SPARC64_POSIX_TYPES_H
+#define __SPARC_POSIX_TYPES_H
# if __WORDSIZE == 64
typedef unsigned long __kernel_size_t;