]> Savannah Git Hosting - gnulib.git/commit
Use __typeof__ with clang.
authorBruno Haible <bruno@clisp.org>
Sun, 9 Aug 2020 13:01:23 +0000 (15:01 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 9 Aug 2020 13:01:23 +0000 (15:01 +0200)
commit31f9476c9ec08b0a21a71fce807fc72fef0c6441
tree4ce0a08f98c0a26a52f371f21b85f0fc369812c1
parent94e462dba2d39c73858d855d528f2d86253de498
Use __typeof__ with clang.

* m4/stdint.m4 (gl_STDINT_H): Check for SIZE_MAX also on
"clang -std=gnu99".
* lib/intprops.h (_GL_HAVE___TYPEOF__): Define to 1 also on clang.
* tests/test-stdint.c (verify_same_types): Enable the check also on
clang.
ChangeLog
lib/intprops.h
m4/stdint.m4
tests/test-stdint.c