Browse Source

Add missing include to serialize.h

0.8
Matt Corallo 13 years ago committed by Gavin Andresen
parent
commit
02962ba848
  1. 1
      src/serialize.h

1
src/serialize.h

@ -34,6 +34,7 @@ typedef unsigned long long uint64; @@ -34,6 +34,7 @@ typedef unsigned long long uint64;
// 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
// the pagefile except in rare circumstances where memory is extremely low.
#include <windows.h>
#define mlock(p, n) VirtualLock((p), (n));
#define munlock(p, n) VirtualUnlock((p), (n));
#else

Loading…
Cancel
Save