From 0cf0914efef17832ac963cc144f7288845d9b883 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Tue, 14 Jun 2022 11:21:46 +1000 Subject: cpukit: Change _COMPILING_NEWLIB to _LIBC for helper functions decls Updates #4662 --- cpukit/libcsupport/src/__gettod.c | 2 +- cpukit/libcsupport/src/__times.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'cpukit/libcsupport') diff --git a/cpukit/libcsupport/src/__gettod.c b/cpukit/libcsupport/src/__gettod.c index 610f2c4d4a..b43081c9eb 100644 --- a/cpukit/libcsupport/src/__gettod.c +++ b/cpukit/libcsupport/src/__gettod.c @@ -41,7 +41,7 @@ /* * Needed to get the prototype for the newlib helper method */ -#define _COMPILING_NEWLIB +#define _LIBC #include #include diff --git a/cpukit/libcsupport/src/__times.c b/cpukit/libcsupport/src/__times.c index 629a7bc633..14625b5aae 100644 --- a/cpukit/libcsupport/src/__times.c +++ b/cpukit/libcsupport/src/__times.c @@ -38,9 +38,9 @@ #endif /* - * Needed to get the prototype for this newlib helper method + * Needed to get the prototype for this libc helper method */ -#define _COMPILING_NEWLIB +#define _LIBC #include -- cgit v1.2.3