glob: fix build for platforms without __THROW
authorEric Blake <eblake@redhat.com>
Sat, 7 Sep 2013 13:23:32 +0000 (07:23 -0600)
committerEric Blake <eblake@redhat.com>
Sat, 7 Sep 2013 13:23:32 +0000 (07:23 -0600)
commit465099e8fbb10768d061f36946eb94ccea37d98a
treeec84a08f0e29460e5ccfc58cdbb29d1867553d2d
parent7aaf2abb2792e46c857652edf9364934365d5b03
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>
ChangeLog
lib/glob.in.h