X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fserialize.h;h=396e1727eb671f05ff7861a76ec8b6ce94c620c5;hb=7f23df06d7126e32bb2b80df355855bc9c8b242a;hp=385c9ab8e939816a302cce9932089ce5dbe5bc77;hpb=948072c39f913d1ebe43b3b46234f9d7a0d00427;p=novacoin.git diff --git a/src/serialize.h b/src/serialize.h index 385c9ab..396e172 100644 --- a/src/serialize.h +++ b/src/serialize.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2011 The Bitcoin developers +// Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file license.txt or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_SERIALIZE_H @@ -30,7 +30,8 @@ typedef unsigned long long uint64; #define for if (false) ; else for #endif -#ifdef __WXMSW__ +#ifdef WIN32 +#include // 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 = 50400; static const char* pszSubVer = ""; static const bool VERSION_IS_BETA = true;