summaryrefslogtreecommitdiff
path: root/macros/texinfo/texinfo/gnulib/lib/getopt-cdefs.in.h
diff options
context:
space:
mode:
Diffstat (limited to 'macros/texinfo/texinfo/gnulib/lib/getopt-cdefs.in.h')
-rw-r--r--macros/texinfo/texinfo/gnulib/lib/getopt-cdefs.in.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/macros/texinfo/texinfo/gnulib/lib/getopt-cdefs.in.h b/macros/texinfo/texinfo/gnulib/lib/getopt-cdefs.in.h
index 049145b386..11fe536ff2 100644
--- a/macros/texinfo/texinfo/gnulib/lib/getopt-cdefs.in.h
+++ b/macros/texinfo/texinfo/gnulib/lib/getopt-cdefs.in.h
@@ -1,5 +1,5 @@
/* getopt-on-non-glibc compatibility macros.
- Copyright (C) 1989-2019 Free Software Foundation, Inc.
+ Copyright (C) 1989-2021 Free Software Foundation, Inc.
This file is part of gnulib.
Unlike most of the getopt implementation, it is NOT shared
with the GNU C Library.
@@ -57,7 +57,7 @@
#endif
#ifndef __THROW
-# if defined __cplusplus && __GNUC_PREREQ (2,8)
+# if defined __cplusplus && (__GNUC_PREREQ (2,8) || __clang_major__ >= 4)
# define __THROW throw ()
# else
# define __THROW