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
path: root/std
diff options
context:
space:
mode:
authorAlex Zolotarev <deathbaba@gmail.com>2011-05-19 05:44:41 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:17:40 +0300
commit7024eecdbad620fdfbb4b505363f8f61c80a1180 (patch)
tree5c8dc337cbd2a5dcbeac8970f4709bc0a82b7a37 /std
parent73d696d3f1789ff1d99c285e2dad7ce5df2da567 (diff)
std/windows.hpp can be included without any defines now
Diffstat (limited to 'std')
-rw-r--r--std/windows.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/std/windows.hpp b/std/windows.hpp
index 3484605265..714c555889 100644
--- a/std/windows.hpp
+++ b/std/windows.hpp
@@ -1,5 +1,8 @@
#pragma once
+#include "target_os.hpp"
+
+#ifdef OMIM_OS_WINDOWS
// These defines are moved to common.pri because
// they should be equal for all libraries, even for 3party ones
@@ -31,3 +34,5 @@
#undef min
#undef max
+
+#endif // OMIM_OS_WINDOWS