diff options
author | Jakub Jelinek <jakub@redhat.com> | 2024-10-30 09:58:26 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2024-10-30 09:58:26 +0100 |
commit | cd5535494c567c3dff4b935b7443d893914e9b9c (patch) | |
tree | b26cbe79521fcaf3420e102429ec884f130b4f98 /gcc/function.cc | |
parent | 6f0f202b9f2bc45d82dc3e524508f7a8849be60f (diff) | |
download | gcc-cd5535494c567c3dff4b935b7443d893914e9b9c.zip gcc-cd5535494c567c3dff4b935b7443d893914e9b9c.tar.gz gcc-cd5535494c567c3dff4b935b7443d893914e9b9c.tar.bz2 |
genmatch: Fix build on hppa64-hpux [PR117348]
Apparently autoconf defines the HAVE_DECL_* macros to 0
rather than not defining them at all, so defined(HAVE_DECL_FMEMOPEN)
test doesn't do much.
The following patch fixes it by testing HAVE_DECL_FMEMOPEN
for being non-zero instead.
2024-10-30 Jakub Jelinek <jakub@redhat.com>
PR middle-end/117348
* genmatch.cc: Replace defined(HAVE_DECL_FMEMOPEN)
test with HAVE_DECL_FMEMOPEN.
Diffstat (limited to 'gcc/function.cc')
0 files changed, 0 insertions, 0 deletions