diff options
-rw-r--r-- | include/linux/compiler-gcc4.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/compiler-gcc4.h b/include/linux/compiler-gcc4.h index 77542c57e20a..e6ef279ca20c 100644 --- a/include/linux/compiler-gcc4.h +++ b/include/linux/compiler-gcc4.h | |||
@@ -38,7 +38,9 @@ | |||
38 | 38 | ||
39 | #endif | 39 | #endif |
40 | 40 | ||
41 | #if __GNUC_MINOR__ > 0 | ||
41 | #define __compiletime_object_size(obj) __builtin_object_size(obj, 0) | 42 | #define __compiletime_object_size(obj) __builtin_object_size(obj, 0) |
43 | #endif | ||
42 | #if __GNUC_MINOR__ >= 4 | 44 | #if __GNUC_MINOR__ >= 4 |
43 | #define __compiletime_warning(message) __attribute__((warning(message))) | 45 | #define __compiletime_warning(message) __attribute__((warning(message))) |
44 | #define __compiletime_error(message) __attribute__((error(message))) | 46 | #define __compiletime_error(message) __attribute__((error(message))) |