]> sourceware.org Git - newlib-cygwin.git/commitdiff
Rename __sentinel to __null_sentinel
authorpfg <pfg@FreeBSD.org>
Tue, 4 Apr 2017 07:04:52 +0000 (09:04 +0200)
committerCorinna Vinschen <corinna@vinschen.de>
Tue, 4 Apr 2017 09:41:13 +0000 (11:41 +0200)
GCC 5 uses a conflicting __sentinel definition in include/c++/bits/stl_algo.h

Reported by: matteo

newlib/libc/include/sys/cdefs.h

index f569fc4d06a92fef410dbd1bf2bfd8c6da1a81bd..1e3c6b0435db87ad3d9919c319f43283477f1b86 100644 (file)
 #endif
 
 #if __GNUC_PREREQ__(4, 0)
-#define        __sentinel      __attribute__((__sentinel__))
+#define        __null_sentinel __attribute__((__sentinel__))
 #define        __exported      __attribute__((__visibility__("default")))
 /* Only default visibility is supported on PE/COFF targets. */
 #ifndef __CYGWIN__
 #define        __hidden
 #endif
 #else
-#define        __sentinel
+#define        __null_sentinel
 #define        __exported
 #define        __hidden
 #endif
This page took 0.031438 seconds and 5 git commands to generate.