aboutsummaryrefslogtreecommitdiff
path: root/winsup/w32api/include/winsock2.h
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-04-24 03:41:37 +0000
committerChristopher Faylor <me@cgf.cx>2001-04-24 03:41:37 +0000
commitc35bcd3ebc0f994ded309630a9d6492a37f442f1 (patch)
tree45e7788e4a493572efcf7a9670a4e889cf1ae1a1 /winsup/w32api/include/winsock2.h
parentf3ea62a847c523db2437aee6f17d852e3765bf86 (diff)
downloadnewlib-c35bcd3ebc0f994ded309630a9d6492a37f442f1.zip
newlib-c35bcd3ebc0f994ded309630a9d6492a37f442f1.tar.gz
newlib-c35bcd3ebc0f994ded309630a9d6492a37f442f1.tar.bz2
* include/winsock2.h: Protect some more newlib defines when compiling cygwin
Diffstat (limited to 'winsup/w32api/include/winsock2.h')
-rw-r--r--winsup/w32api/include/winsock2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/w32api/include/winsock2.h b/winsup/w32api/include/winsock2.h
index 672f7cd..ac771fc 100644
--- a/winsup/w32api/include/winsock2.h
+++ b/winsup/w32api/include/winsock2.h
@@ -112,13 +112,13 @@ struct linger {
u_short l_onoff;
u_short l_linger;
};
-#endif /* ndef __INSIDE_CYGWIN__ */
#define timerisset(tvp) ((tvp)->tv_sec || (tvp)->tv_usec)
#define timercmp(tvp, uvp, cmp) \
(((tvp)->tv_sec != (uvp)->tv_sec) ? \
((tvp)->tv_sec cmp (uvp)->tv_sec) : \
((tvp)->tv_usec cmp (uvp)->tv_usec))
#define timerclear(tvp) (tvp)->tv_sec = (tvp)->tv_usec = 0
+#endif /* ndef __INSIDE_CYGWIN__ */
#define IOCPARM_MASK 0x7f
#define IOC_VOID 0x20000000
#define IOC_OUT 0x40000000