cvs-cvs
[Top][All Lists]
Advanced

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

[Cvs-cvs] Changes to ccvs/lib/regcomp.c


From: Derek Robert Price
Subject: [Cvs-cvs] Changes to ccvs/lib/regcomp.c
Date: Thu, 15 Sep 2005 15:26:20 -0400

Index: ccvs/lib/regcomp.c
diff -u ccvs/lib/regcomp.c:1.3 ccvs/lib/regcomp.c:1.4
--- ccvs/lib/regcomp.c:1.3      Tue Sep  6 15:11:01 2005
+++ ccvs/lib/regcomp.c  Thu Sep 15 19:26:19 2005
@@ -17,6 +17,19 @@
    with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
 
+#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
+
 static reg_errcode_t re_compile_internal (regex_t *preg, const char * pattern,
                                          Idx length, reg_syntax_t syntax);
 static void re_compile_fastmap_iter (regex_t *bufp,




reply via email to

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