]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Add comment regarding HP-UX cc in C99 mode.
authorBruno Haible <bruno@clisp.org>
Sun, 16 Dec 2018 09:49:04 +0000 (10:49 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 16 Dec 2018 09:49:04 +0000 (10:49 +0100)
* gnulib-local/lib/gettext.h (_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS): Update
comment.

gnulib-local/lib/gettext.h

index b2d59d5a24e4a68a1c602615ef4e77ca63be4442..928e6ee9be34a0f635fcfdbb8ec4e6fa05601a60 100644 (file)
@@ -1,5 +1,5 @@
 /* Convenience header for conditional use of GNU <libintl.h>.
-   Copyright (C) 1995-1998, 2000-2002, 2004-2006, 2009-2016 Free Software
+   Copyright (C) 1995-1998, 2000-2002, 2004-2006, 2009-2018 Free Software
    Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
@@ -185,7 +185,7 @@ npgettext_aux (const char *domain,
 #include <string.h>
 
 #if (((__GNUC__ >= 3 || __GNUG__ >= 2) && !defined __STRICT_ANSI__) \
-     /* || __STDC_VERSION__ == 199901L
+     /* || (__STDC_VERSION__ == 199901L && !defined __HP_cc)
         || (__STDC_VERSION__ >= 201112L && !defined __STDC_NO_VLA__) */ )
 # define _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS 1
 #else