diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-05-04 21:38:14 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-05-04 21:38:14 +0000 |
commit | 734e5ebc93a4ed325173119211559f6942e651c4 (patch) | |
tree | eaba2fd2d705c3b823260a1066abcedd4d2d7510 /include/platform.h | |
parent | ac0e5ab96ac35d46a6e0755f6f24f016ce788d90 (diff) | |
download | busybox-w32-734e5ebc93a4ed325173119211559f6942e651c4.tar.gz busybox-w32-734e5ebc93a4ed325173119211559f6942e651c4.tar.bz2 busybox-w32-734e5ebc93a4ed325173119211559f6942e651c4.zip |
fix -Werror compile
Diffstat (limited to 'include/platform.h')
-rw-r--r-- | include/platform.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/platform.h b/include/platform.h index ad3cc9332..c2013b39d 100644 --- a/include/platform.h +++ b/include/platform.h | |||
@@ -54,7 +54,11 @@ | |||
54 | # define ATTRIBUTE_ALIGNED(m) __attribute__ ((__aligned__(m))) | 54 | # define ATTRIBUTE_ALIGNED(m) __attribute__ ((__aligned__(m))) |
55 | # if __GNUC_PREREQ (3,0) | 55 | # if __GNUC_PREREQ (3,0) |
56 | # define ATTRIBUTE_ALWAYS_INLINE __attribute__ ((always_inline)) inline | 56 | # define ATTRIBUTE_ALWAYS_INLINE __attribute__ ((always_inline)) inline |
57 | # define ATTRIBUTE_DEPRECATED __attribute__ ((__deprecated__)) | 57 | # if !ENABLE_WERROR |
58 | # define ATTRIBUTE_DEPRECATED __attribute__ ((__deprecated__)) | ||
59 | # else | ||
60 | # define ATTRIBUTE_DEPRECATED /* n/a */ | ||
61 | # endif | ||
58 | # else | 62 | # else |
59 | # define ATTRIBUTE_ALWAYS_INLINE inline | 63 | # define ATTRIBUTE_ALWAYS_INLINE inline |
60 | # define ATTRIBUTE_DEPRECATED /* n/a */ | 64 | # define ATTRIBUTE_DEPRECATED /* n/a */ |