diff options
Diffstat (limited to 'gl/gettext.h')
| -rw-r--r-- | gl/gettext.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/gl/gettext.h b/gl/gettext.h index f1c7a240..b3577a04 100644 --- a/gl/gettext.h +++ b/gl/gettext.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Convenience header for conditional use of GNU <libintl.h>. | 1 | /* Convenience header for conditional use of GNU <libintl.h>. |
| 2 | Copyright (C) 1995-1998, 2000-2002, 2004-2006, 2009-2021 Free Software | 2 | Copyright (C) 1995-1998, 2000-2002, 2004-2006, 2009-2022 Free Software |
| 3 | Foundation, Inc. | 3 | Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is free software: you can redistribute it and/or modify | 5 | This file is free software: you can redistribute it and/or modify |
| @@ -138,7 +138,7 @@ | |||
| 138 | #define dcnpgettext(Domainname, Msgctxt, Msgid, MsgidPlural, N, Category) \ | 138 | #define dcnpgettext(Domainname, Msgctxt, Msgid, MsgidPlural, N, Category) \ |
| 139 | npgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, Category) | 139 | npgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, Category) |
| 140 | 140 | ||
| 141 | #ifdef __GNUC__ | 141 | #if defined __GNUC__ || defined __clang__ |
| 142 | __inline | 142 | __inline |
| 143 | #else | 143 | #else |
| 144 | #ifdef __cplusplus | 144 | #ifdef __cplusplus |
| @@ -157,7 +157,7 @@ pgettext_aux (const char *domain, | |||
| 157 | return translation; | 157 | return translation; |
| 158 | } | 158 | } |
| 159 | 159 | ||
| 160 | #ifdef __GNUC__ | 160 | #if defined __GNUC__ || defined __clang__ |
| 161 | __inline | 161 | __inline |
| 162 | #else | 162 | #else |
| 163 | #ifdef __cplusplus | 163 | #ifdef __cplusplus |
| @@ -191,9 +191,8 @@ npgettext_aux (const char *domain, | |||
| 191 | or may have security implications due to non-deterministic stack usage. */ | 191 | or may have security implications due to non-deterministic stack usage. */ |
| 192 | 192 | ||
| 193 | #if (!defined GNULIB_NO_VLA \ | 193 | #if (!defined GNULIB_NO_VLA \ |
| 194 | && (((__GNUC__ >= 3 || __GNUG__ >= 2) && !defined __STRICT_ANSI__) \ | 194 | && defined __STDC_VERSION__ && 199901L <= __STDC_VERSION__ \ |
| 195 | /* || (__STDC_VERSION__ == 199901L && !defined __HP_cc) | 195 | && !defined __STDC_NO_VLA__) |
| 196 | || (__STDC_VERSION__ >= 201112L && !defined __STDC_NO_VLA__) */ )) | ||
| 197 | # define _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS 1 | 196 | # define _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS 1 |
| 198 | #else | 197 | #else |
| 199 | # define _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS 0 | 198 | # define _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS 0 |
| @@ -208,7 +207,7 @@ npgettext_aux (const char *domain, | |||
| 208 | #define dpgettext_expr(Domainname, Msgctxt, Msgid) \ | 207 | #define dpgettext_expr(Domainname, Msgctxt, Msgid) \ |
| 209 | dcpgettext_expr (Domainname, Msgctxt, Msgid, LC_MESSAGES) | 208 | dcpgettext_expr (Domainname, Msgctxt, Msgid, LC_MESSAGES) |
| 210 | 209 | ||
| 211 | #ifdef __GNUC__ | 210 | #if defined __GNUC__ || defined __clang__ |
| 212 | __inline | 211 | __inline |
| 213 | #else | 212 | #else |
| 214 | #ifdef __cplusplus | 213 | #ifdef __cplusplus |
| @@ -255,7 +254,7 @@ dcpgettext_expr (const char *domain, | |||
| 255 | #define dnpgettext_expr(Domainname, Msgctxt, Msgid, MsgidPlural, N) \ | 254 | #define dnpgettext_expr(Domainname, Msgctxt, Msgid, MsgidPlural, N) \ |
| 256 | dcnpgettext_expr (Domainname, Msgctxt, Msgid, MsgidPlural, N, LC_MESSAGES) | 255 | dcnpgettext_expr (Domainname, Msgctxt, Msgid, MsgidPlural, N, LC_MESSAGES) |
| 257 | 256 | ||
| 258 | #ifdef __GNUC__ | 257 | #if defined __GNUC__ || defined __clang__ |
| 259 | __inline | 258 | __inline |
| 260 | #else | 259 | #else |
| 261 | #ifdef __cplusplus | 260 | #ifdef __cplusplus |
