diff options
author | Eric Blake <eblake@redhat.com> | 2013-09-07 07:23:32 -0600 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2013-09-07 07:23:32 -0600 |
commit | 465099e8fbb10768d061f36946eb94ccea37d98a (patch) | |
tree | ec84a08f0e29460e5ccfc58cdbb29d1867553d2d /lib/glob.in.h | |
parent | 7aaf2abb2792e46c857652edf9364934365d5b03 (diff) | |
download | gnulib-465099e8fbb10768d061f36946eb94ccea37d98a.tar.gz |
glob: fix build for platforms without __THROW
The previous fix for glibc broke builds on non-glibc platforms
that don't pre-define __THROW. Perhaps we could make the code
more optimal by using gcc attributes instead of expanding to
nothing, to match the glibc usage; but for now this fixes the
build. Reproted by Tom G. Christensen.
* lib/glob.in.h (__THROW): Add definition again.
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'lib/glob.in.h')
-rw-r--r-- | lib/glob.in.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/glob.in.h b/lib/glob.in.h index c242d97b3e..73cbaa5bcc 100644 --- a/lib/glob.in.h +++ b/lib/glob.in.h @@ -40,6 +40,8 @@ # define __END_DECLS # endif #endif +#ifndef __THROW +# define __THROW #ifndef __THROWNL # define __THROWNL #endif |