]> Savannah Git Hosting - gnulib.git/commit
alignasof, stdalign: Avoid some -Wundef warnings from config.h.
authorBruno Haible <bruno@clisp.org>
Thu, 3 Aug 2023 16:09:29 +0000 (18:09 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 3 Aug 2023 16:09:29 +0000 (18:09 +0200)
commit2ae6faf9c78384dc6a2674b62dd56ff153cd51f6
treed2921b1ad3dbd2edd6787625a48caf5d41dc59f2
parentbb86348c824b14830c9a4b80314e9db219b07143
alignasof, stdalign: Avoid some -Wundef warnings from config.h.

Reported by Tim Rühsen <tim.ruehsen@gmx.de> in
<https://lists.gnu.org/archive/html/bug-gnulib/2023-08/msg00012.html>.

* m4/stdalign.m4 (gl_ALIGNASOF): Test whether __cplusplus is defined
before evaluating it. Assume HAVE_STDALIGN_H, _GL_STDALIGN_NEEDS_STDDEF
are never defined to 0.
ChangeLog
m4/stdalign.m4