summaryrefslogtreecommitdiff
path: root/klibc/include
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2005-03-07 07:04:46 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 23:51:00 -0700
commit4272779706c53c635a3fa5431a4e8791402183b4 (patch)
tree0ed0964a2772f2fc17c3162137d594275e5036d5 /klibc/include
parent472419869c387bb0963d8cfecca997b8154f4d44 (diff)
[PATCH] klibc: version 0.214
Diffstat (limited to 'klibc/include')
-rw-r--r--klibc/include/klibc/compiler.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/klibc/include/klibc/compiler.h b/klibc/include/klibc/compiler.h
index 823996e777..ee697adf08 100644
--- a/klibc/include/klibc/compiler.h
+++ b/klibc/include/klibc/compiler.h
@@ -22,7 +22,7 @@
/* How to declare a function that *must* be inlined */
#ifdef __GNUC__
-# if __GNUC_MAJOR__ >= 3
+# if __GNUC__ >= 3
# define __must_inline static __inline__ __attribute__((always_inline))
# else
# define __must_inline extern __inline__
@@ -84,14 +84,14 @@
#endif
/* malloc() function (returns unaliased pointer) */
-#if defined(__GNUC__) && (__GNUC_MAJOR__ >= 3)
+#if defined(__GNUC__) && (__GNUC__ >= 3)
# define __mallocfunc __attribute__((malloc))
#else
# define __mallocfunc
#endif
/* likely/unlikely */
-#if defined(__GNUC__) && (__GNUC_MAJOR__ > 2 || (__GNUC_MAJOR__ == 2 && __GNUC_MINOR__ >= 95))
+#if defined(__GNUC__) && (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95))
# define __likely(x) __builtin_expect((x), 1)
# define __unlikely(x) __builtin_expect((x), 0)
#else