Merge pull request #865 from sipa/del_pwalletdb
authorPieter Wuille <pieter.wuille@gmail.com>
Sun, 19 Feb 2012 17:05:40 +0000 (09:05 -0800)
committerPieter Wuille <pieter.wuille@gmail.com>
Sun, 19 Feb 2012 17:05:40 +0000 (09:05 -0800)
Free pwalletdbEncryption after encryping wallet

src/serialize.h

index 6eb4f4e..c046bf3 100644 (file)
@@ -23,6 +23,7 @@ typedef long long  int64;
 typedef unsigned long long  uint64;
 
 #ifdef WIN32
+#define _WIN32_WINNT 0x0501
 #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,