summaryrefslogtreecommitdiff
path: root/macros/texinfo/texinfo/gnulib/lib/getopt-cdefs.in.h
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-07-04 03:01:24 +0000
committerNorbert Preining <norbert@preining.info>2021-07-04 03:01:24 +0000
commit7994f86ec5e18f9d0d9f90161a2f26dd26d26af7 (patch)
tree88edb7d1a1aed3183a1350202c898716b4ac59ce /macros/texinfo/texinfo/gnulib/lib/getopt-cdefs.in.h
parent03fa062b03ce2bb5385f8f30888f94d441fa5cb4 (diff)
CTAN sync 202107040301
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