diff options
author | sirius-m <sirius-m@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2009-10-31 09:11:43 +0000 |
---|---|---|
committer | sirius-m <sirius-m@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2009-10-31 09:11:43 +0000 |
commit | e874738d3de335faacb83d0398cabdff7477bfa0 (patch) | |
tree | 6f8b6bdd3a53a58371dacb507d06ae6aaa18daf3 /net.h | |
parent | 8938414f0c1e325a3c2242b703f24411956aee15 (diff) | |
download | bitcoin-e874738d3de335faacb83d0398cabdff7477bfa0.tar.xz |
Linux alternatives for the Windows headers and PerformanceCounter. Some typedefs and #defines for the Linux build. Fixed GetDataDir.
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;
|