From e41f61a2fa00469f8462a9216a9aae5838f26629 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 15 Sep 2011 16:47:48 +0200 Subject: build: avoid compilation failure when building without PCRE support * src/pcresearch.c [!HAVE_LIBPCRE] (WITHOUT_PCRE_NORETURN): Define to _Noreturn, not obsoleted-by-gnulib _GL_ATTRIBUTE_NORETURN. Reported by Eric Blake. --- src/pcresearch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pcresearch.c') diff --git a/src/pcresearch.c b/src/pcresearch.c index f8581e08..5ccc6269 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 -- cgit v1.2.1