diff options
Diffstat (limited to 'net.h')
-rw-r--r-- | net.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,6 +1,12 @@ // Copyright (c) 2009 Satoshi Nakamoto
// Distributed under the MIT/X11 software license, see the accompanying
// file license.txt or http://www.opensource.org/licenses/mit-license.php.
+ +#ifndef __WXMSW__
+#define closesocket(s) close(s)
+#define INVALID_SOCKET (SOCKET)(~0)
+typedef u_int SOCKET;
+#endif class CMessageHeader;
class CAddress;
|