]> Savannah Git Hosting - gnulib.git/commitdiff
Fix _GL_HAVE__STATIC_ASSERT typo
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 8 May 2019 19:46:27 +0000 (12:46 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 9 May 2019 16:09:34 +0000 (09:09 -0700)
* lib/verify.h (_Static_assert): For the FreeBSD workaround,
use _GL_HAVE__STATIC_ASSERT, not _GL_HAVE_STATIC_ASSERT.

ChangeLog
lib/verify.h

index 31e05adbdb47ed689aaa8aad2882a9a4d5c4a2fe..12231d97b9f7c83bc877ed618497a425825a2b28 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2019-05-08  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Fix _GL_HAVE__STATIC_ASSERT typo
+       * lib/verify.h (_Static_assert): For the FreeBSD workaround,
+       use _GL_HAVE__STATIC_ASSERT, not _GL_HAVE_STATIC_ASSERT.
+
 2019-05-05  Bruno Haible  <bruno@clisp.org>
 
        wcwidth: Ensure width 1, not 2, for ambiguous characters.
index 6930645a35014db3bf2dfd0e12ee9553ad89d983..eccd7e2019cdd235e16f4a5312dc8ed226ee8aea 100644 (file)
    down we could also use it with other compilers, but since this
    affects only the quality of diagnostics, why bother?  */
 #if (4 < __GNUC__ + (6 <= __GNUC_MINOR__) \
-     && (201112L <= __STDC_VERSION__  || !defined __STRICT_ANSI__) \
+     && (201112L <= __STDC_VERSION__ || !defined __STRICT_ANSI__) \
      && !defined __cplusplus)
 # define _GL_HAVE__STATIC_ASSERT 1
 #endif
-#if (6 <= __GNUC__) && defined __cplusplus
+#if 6 <= __GNUC__ && defined __cplusplus
 # define _GL_HAVE_STATIC_ASSERT 1
 #endif
 
 /* FreeBSD 9.1 <sys/cdefs.h>, included by <stddef.h> and lots of other
    system headers, defines a conflicting _Static_assert that is no
    better than ours; override it.  */
-#ifndef _GL_HAVE_STATIC_ASSERT
+#ifndef _GL_HAVE__STATIC_ASSERT
 # include <stddef.h>
 # undef _Static_assert
 #endif