git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Win build: fix noise from compiler, subject to change in future
[novacoin.git]
/
src
/
allocators.h
diff --git
a/src/allocators.h
b/src/allocators.h
index
c787b35
..
51bc73e
100644
(file)
--- a/
src/allocators.h
+++ b/
src/allocators.h
@@
-15,10
+15,9
@@
#include <vector>
#ifdef WIN32
-#ifdef _WIN32_WINNT
-#undef _WIN32_WINNT
+#if (_WIN32_WINNT != _WIN32_WINNT_WIN7)
+#define _WIN32_WINNT 0x601
#endif
-#define _WIN32_WINNT 0x0601
#define WIN32_LEAN_AND_MEAN 1
#ifndef NOMINMAX
#define NOMINMAX