Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Zolotarev <deathbaba@gmail.com>2010-12-05 19:24:16 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-22 22:33:57 +0300
commitd6e12b7ce4bcbf0ccd1c07eb25de143422913c34 (patch)
treea7e910c330ce4da9b4f2d8be76067adece2561c4 /std/windows.hpp
One Month In Minsk. Made in Belarus.
Diffstat (limited to 'std/windows.hpp')
-rw-r--r--std/windows.hpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/std/windows.hpp b/std/windows.hpp
new file mode 100644
index 0000000000..fc2a301eba
--- /dev/null
+++ b/std/windows.hpp
@@ -0,0 +1,21 @@
+#pragma once
+
+// we support only Vista and above at the moment (due to conditional variables)
+#ifdef _WIN32_WINNT
+ #undef _WIN32_WINNT
+#endif
+#define _WIN32_WINNT 0x0600
+
+#ifdef WINVER
+ #undef WINVER
+#endif
+#define WINVER 0x0600
+
+#ifndef WIN32_LEAN_AND_MEAN
+ #define WIN32_LEAN_AND_MEAN
+#endif
+
+#include <windows.h>
+
+#undef min
+#undef max