diff options
author | Jim Meyering <meyering@redhat.com> | 2011-09-15 16:47:48 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2011-09-15 16:47:48 +0200 |
commit | e41f61a2fa00469f8462a9216a9aae5838f26629 (patch) | |
tree | 1471b05fff667cd089bf83b3ccf1a36952771d46 /src/pcresearch.c | |
parent | adb4b2ca3aef27eb8991f8cb022a85964f4ad49e (diff) | |
download | grep-e41f61a2fa00469f8462a9216a9aae5838f26629.tar.gz |
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.
Diffstat (limited to 'src/pcresearch.c')
-rw-r--r-- | src/pcresearch.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |