summaryrefslogtreecommitdiffstats
path: root/include/asm-microblaze/types.h
diff options
context:
space:
mode:
authorShinya Kuribayashi <skuribay@ruby.dti.ne.jp>2008-02-24 11:44:29 +0900
committerWolfgang Denk <wd@denx.de>2008-03-02 21:11:11 +0100
commitf8fa6368a6a0c02164da8e2f52f18d457c6977bd (patch)
tree4104bd8a60b8516a22057581fe09adad1af026f3 /include/asm-microblaze/types.h
parentb29661fc1151077776454288051bc9a488351ce8 (diff)
downloadtalos-obmc-uboot-f8fa6368a6a0c02164da8e2f52f18d457c6977bd.tar.gz
talos-obmc-uboot-f8fa6368a6a0c02164da8e2f52f18d457c6977bd.zip
Remove the __STRICT_ANSI__ check from the __u64/__s64 declaration on 32bit targets.
The previous patch was lacking of i386, microblaze, nios and nios2. This patch tries to fix them. Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
Diffstat (limited to 'include/asm-microblaze/types.h')
-rw-r--r--include/asm-microblaze/types.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-microblaze/types.h b/include/asm-microblaze/types.h
index 8c4bef2870..3895dc4365 100644
--- a/include/asm-microblaze/types.h
+++ b/include/asm-microblaze/types.h
@@ -25,9 +25,9 @@ typedef unsigned short __u16;
typedef __signed__ int __s32;
typedef unsigned int __u32;
-#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
-typedef __signed__ long long __s64;
-typedef unsigned long long __u64;
+#if defined(__GNUC__)
+__extension__ typedef __signed__ long long __s64;
+__extension__ typedef unsigned long long __u64;
#endif
/*
OpenPOWER on IntegriCloud