-only with MINGW
authorChristian Grothoff <christian@grothoff.org>
Tue, 6 Dec 2011 19:56:51 +0000 (19:56 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 6 Dec 2011 19:56:51 +0000 (19:56 +0000)
src/include/gnunet_network_lib.h

index a14d5f0bb6fd0d87c2d3287071dfe3a88c2e6084..67ff11781d05e53ebd20943ff34092ea7b975f92 100644 (file)
@@ -89,6 +89,7 @@ GNUNET_NETWORK_socket_accept (const struct GNUNET_NETWORK_Handle *desc,
                               socklen_t * address_len);
 
 
+#ifdef MINGW
 /**
  * Box a native socket (and check that it is a socket).
  *
@@ -97,6 +98,7 @@ GNUNET_NETWORK_socket_accept (const struct GNUNET_NETWORK_Handle *desc,
  */
 struct GNUNET_NETWORK_Handle *
 GNUNET_NETWORK_socket_box_native (SOCKTYPE fd);
+#endif
 
 
 /**