diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-11-09 06:22:27 +0300 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-11-16 03:32:23 +0300 |
commit | 6226bad0eafe762b811c62d1dc096bc0858b0d1a (patch) | |
tree | c562d49dd744371d64648c1d8414090fa35331ef /winsup/cygwin/math | |
parent | 2b28977149b1e8858b597890906f21cdecde84ce (diff) |
change _COMPILING_NEWLIB to _LIBC
Use the same name as glibc & gnulib to indicate "newlib itself is
being compiled". This also harmonizes the codebase a bit in that
_LIBC was already used in places instead of _COMPILING_NEWLIB.
Building for bfin-elf, mips-elf, and x86_64-pc-cygwin produces
the same object code.
Diffstat (limited to 'winsup/cygwin/math')
-rw-r--r-- | winsup/cygwin/math/complex_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/math/complex_internal.h b/winsup/cygwin/math/complex_internal.h index e54e61d71..de1058783 100644 --- a/winsup/cygwin/math/complex_internal.h +++ b/winsup/cygwin/math/complex_internal.h @@ -44,7 +44,7 @@ #ifdef __CYGWIN__ /* Disable __IMPORT when defining __fdlib_version. */ -#define _COMPILING_NEWLIB +#define _LIBC #define _GNU_SOURCE #endif #include <math.h> |