]> gcc.gnu.org Git - gcc.git/commit
libgfortran: Fix build on non-glibc targets
authorJakub Jelinek <jakub@redhat.com>
Wed, 12 Jan 2022 08:43:18 +0000 (09:43 +0100)
committerJakub Jelinek <jakub@redhat.com>
Wed, 12 Jan 2022 08:43:18 +0000 (09:43 +0100)
commit7c3b9c17363bf30fcab9814252b9d5860711a10b
tree367bd1aee3eea6681ebf283a6a73635e9a31299b
parent2c4dccb605d485293291878397b42927dc050481
libgfortran: Fix build on non-glibc targets

When the __GLIBC_PREREQ macro isn't defined, the
  #if ... && defined __GLIBC_PREREQ && __GLIBC_PREREQ (2, 32)
directive has invalid syntax - the __GLIBC_PREREQ in there evaluates
to 0 and is followed by (2, 32).

2022-01-12  Jakub Jelinek  <jakub@redhat.com>

* libgfortran.h (POWER_IEEE128): Use __GLIBC_PREREQ in a separate
#if directive inside of #if ... && defined __GLIBC_PREREQ.
libgfortran/libgfortran.h
This page took 0.057077 seconds and 5 git commands to generate.