aboutsummaryrefslogtreecommitdiff
path: root/src/serialize.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/serialize.h')
-rw-r--r--src/serialize.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/serialize.h b/src/serialize.h
index 2bc3a071d7..f577202443 100644
--- a/src/serialize.h
+++ b/src/serialize.h
@@ -30,7 +30,8 @@ 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,
// but, in practice, memory that has been VirtualLock'd almost never gets written to
@@ -59,7 +60,7 @@ class CDataStream;
class CAutoFile;
static const unsigned int MAX_SIZE = 0x02000000;
-static const int VERSION = 40400;
+static const int VERSION = 50004;
static const char* pszSubVer = "";
static const bool VERSION_IS_BETA = true;