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:
authorWarner Losh <imp@FreeBSD.org>2021-09-07 18:34:02 +0300
committerSebastian Huber <sebastian.huber@embedded-brains.de>2022-07-11 12:52:46 +0300
commit9331071f0262e8cb518d02cfb13e646db9bc3ed9 (patch)
treed4f18b226299d3e6076c9beec6fb3754006091ee /newlib/libc/include
parentf537ff8ee5c34ceef43d8e1e1b427b65ddaa8967 (diff)
cdefs.h: Remove redundant #ifdefs
Remove redunant #ifdef __GNUC__ inside an #if defined(__GNUC__) block. They are nops. Sponsored by: Netflix
Diffstat (limited to 'newlib/libc/include')
-rw-r--r--newlib/libc/include/sys/cdefs.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/newlib/libc/include/sys/cdefs.h b/newlib/libc/include/sys/cdefs.h
index b3508f3a9..720e70092 100644
--- a/newlib/libc/include/sys/cdefs.h
+++ b/newlib/libc/include/sys/cdefs.h
@@ -122,16 +122,12 @@
#define __GNUCLIKE_BUILTIN_VAALIST 1
#endif
-#if defined(__GNUC__)
#define __GNUC_VA_LIST_COMPATIBILITY 1
-#endif
/*
* Compiler memory barriers, specific to gcc and clang.
*/
-#if defined(__GNUC__)
#define __compiler_membar() __asm __volatile(" " : : : "memory")
-#endif
#define __GNUCLIKE_BUILTIN_NEXT_ARG 1
#define __GNUCLIKE_MATH_BUILTIN_RELOPS