aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Rob Landley <rob@landley.net>2009-03-27 04:03:20 +0000
committerGravatar Rob Landley <rob@landley.net>2009-03-27 04:03:20 +0000
commit98a06547a7c463fed1281bc99d72fd3bc4507b27 (patch)
treeb5ac14503c7687fd1ca9c1220974a5b710cc948f
parent6886887bc86e99d4db9befb7881be804fa758312 (diff)
downloaduClibc-98a06547a7c463fed1281bc99d72fd3bc4507b27.tar.gz
uClibc-98a06547a7c463fed1281bc99d72fd3bc4507b27.tar.bz2
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".
-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;