aboutsummaryrefslogtreecommitdiff
path: root/src/serialize.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/serialize.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/serialize.h')
-rw-r--r--src/serialize.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serialize.h b/src/serialize.h
index 6b35773ac3..396594cf73 100644
--- a/src/serialize.h
+++ b/src/serialize.h
@@ -30,7 +30,7 @@ typedef unsigned long long uint64;
#define for if (false) ; else for
#endif
-#ifdef __WXMSW__
+#ifdef WIN32
#include <windows.h>
// This is used to attempt to keep keying material out of swap
// Note that VirtualLock does not provide this as a guarantee on Windows,