cvs-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Cvs-cvs] Changes to ccvs/lib/regex_internal.h


From: Derek Robert Price
Subject: [Cvs-cvs] Changes to ccvs/lib/regex_internal.h
Date: Thu, 15 Sep 2005 20:31:36 -0400

Index: ccvs/lib/regex_internal.h
diff -u ccvs/lib/regex_internal.h:1.5 ccvs/lib/regex_internal.h:1.6
--- ccvs/lib/regex_internal.h:1.5       Thu Sep 15 19:26:19 2005
+++ ccvs/lib/regex_internal.h   Fri Sep 16 00:31:33 2005
@@ -84,6 +84,19 @@
 # define RE_ENABLE_I18N
 #endif
 
+#ifndef __GNUC_PREREQ
+# if defined __GNUC__ && defined __GNUC_MINOR__
+#  define __GNUC_PREREQ(maj, min) \
+       ((__GNUC__ << 16) + __GNUC_MINOR__ >= ((maj) << 16) + (min))
+# else
+#  define __GNUC_PREREQ(maj, min) 0
+# endif
+#endif
+
+#if !__GNUC_PREREQ (3, 1)
+# define always_inline
+#endif
+
 #if __GNUC__ >= 3
 # define BE(expr, val) __builtin_expect (expr, val)
 #else




reply via email to

[Prev in Thread] Current Thread [Next in Thread]