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:
authorCorinna Vinschen <corinna@vinschen.de>2016-03-23 13:17:59 +0300
committerCorinna Vinschen <corinna@vinschen.de>2016-03-23 13:17:59 +0300
commit3f258ada436ff9fdc7a390fcc15eff20a0f9b280 (patch)
tree09011633f51c7e1dc07d1abdf3d69765c540b50b /newlib/libc
parent98b615106dfba52a737fe27c0538de2276b320c8 (diff)
Guard u_char,u_short,u_int,u_long with __MISC_VISIBLE
These types are available in SVID as well. * libc/include/sys/types.h (u_char,u_short,u_int,u_long): Replace __BSD_VISIBLE with __MISC_VISIBLE. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/libc')
-rw-r--r--newlib/libc/include/sys/types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/include/sys/types.h b/newlib/libc/include/sys/types.h
index 33c3e3ecf..feea7af05 100644
--- a/newlib/libc/include/sys/types.h
+++ b/newlib/libc/include/sys/types.h
@@ -91,7 +91,7 @@ typedef quad_t * qaddr_t;
#endif
/* These types are required by netinet/ *.h on Cygwin */
-#if __BSD_VISIBLE || defined(__CYGWIN__)
+#if __MISC_VISIBLE || defined(__CYGWIN__)
#ifndef _BSDTYPES_DEFINED
/* also defined in mingw/gmon.h and in w32api/winsock[2].h */
#ifndef __u_char_defined