[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] build: fix build without pcre
From: |
Eric Blake |
Subject: |
[PATCH] build: fix build without pcre |
Date: |
Thu, 15 Sep 2011 08:51:28 -0600 |
Gnulib recently changed the spelling of a macro to match C1x, but
we failed to follow suit.
* src/pcresearch.c (WITHOUT_PCRE_NORETURN) [!HAVE_LIBPCRE]: Match
recent gnulib change.
---
src/pcresearch.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/pcresearch.c b/src/pcresearch.c
index f8581e0..5ccc626 100644
--- a/src/pcresearch.c
+++ b/src/pcresearch.c
@@ -103,7 +103,7 @@ Pcompile (char const *pattern, size_t size)
/* Pexecute is a no-return function when building --without-pcre. */
#if !HAVE_LIBPCRE
-# define WITHOUT_PCRE_NORETURN _GL_ATTRIBUTE_NORETURN
+# define WITHOUT_PCRE_NORETURN _Noreturn
#else
# define WITHOUT_PCRE_NORETURN /* empty */
#endif
--
1.7.4.4
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] build: fix build without pcre,
Eric Blake <=