Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-11-09 06:22:27 +0300
committerMike Frysinger <vapier@gentoo.org>2021-11-16 03:32:23 +0300
commit6226bad0eafe762b811c62d1dc096bc0858b0d1a (patch)
treec562d49dd744371d64648c1d8414090fa35331ef /newlib/libc/machine/cris/sys
parent2b28977149b1e8858b597890906f21cdecde84ce (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 'newlib/libc/machine/cris/sys')
-rw-r--r--newlib/libc/machine/cris/sys/fcntl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/machine/cris/sys/fcntl.h b/newlib/libc/machine/cris/sys/fcntl.h
index 7630a9874..5ba8015b6 100644
--- a/newlib/libc/machine/cris/sys/fcntl.h
+++ b/newlib/libc/machine/cris/sys/fcntl.h
@@ -149,7 +149,7 @@ extern int fcntl (int, int, ...);
/* Provide _<systemcall> prototypes for functions provided by some versions
of newlib. */
-#ifdef _COMPILING_NEWLIB
+#ifdef _LIBC
extern int _open (const char *, int, ...);
extern int _fcntl (int, int, ...);
#ifdef __LARGE64_FILES