aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2011-10-07 11:02:21 -0400
committerGavin Andresen <gavinandresen@gmail.com>2011-10-07 11:02:21 -0400
commit6853e627f12de21b38a178def14c067435517d96 (patch)
tree74a7142b2266b992b432bab674e412ddb3464db7 /src/net.h
parente9b95e4f6c35cb0f150ff7e70154668f142ee0ba (diff)
Fix build on windows and mac
Replaced all occurrences of #if* __WXMSW__ with WIN32, and all occurrences of __WXMAC_OSX__ with MAC_OSX, and made sure those are defined appropriately in the makefile and bitcoin-qt.pro.
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.h b/src/net.h
index 5b3568fcaf..d847268999 100644
--- a/src/net.h
+++ b/src/net.h
@@ -10,7 +10,7 @@
#include <boost/foreach.hpp>
#include <openssl/rand.h>
-#ifndef __WXMSW__
+#ifndef WIN32
#include <arpa/inet.h>
#endif