OSDN Git Service

* include/cygwin/in6.h: Guard in_port_t typedef more restrictive to
authorcorinna <corinna>
Tue, 25 Jul 2006 20:01:38 +0000 (20:01 +0000)
committercorinna <corinna>
Tue, 25 Jul 2006 20:01:38 +0000 (20:01 +0000)
avoid compiler warning.

winsup/cygwin/ChangeLog
winsup/cygwin/include/cygwin/in6.h

index c96b910..c0a4d95 100644 (file)
@@ -1,3 +1,8 @@
+2006-07-25  Corinna Vinschen  <corinna@vinschen.de>
+
+       * include/cygwin/in6.h: Guard in_port_t typedef more restrictive to
+       avoid compiler warning.
+
 2006-07-25  Christopher Faylor  <cgf@timesys.com>
 
        * security.cc (get_logon_server): Remove nret and use dret for
index c01aefa..5f3d581 100644 (file)
@@ -97,7 +97,7 @@ struct in6_pktinfo
   unsigned int    ipi6_ifindex;
 };
 
-#ifdef __INSIDE_CYGWIN__
+#if defined (__INSIDE_CYGWIN__) && !defined (_CYGWIN_IN_H)
 typedef uint16_t in_port_t;
 #endif