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>2012-09-06 14:46:06 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:43:06 +0300
commit66afd37cc6204975545a071b11f2a87416e77e4b (patch)
tree8f984d275912535fa0718db84d5aa96ee3118010 /std/bind.hpp
parent3aabb33fb24db5204d58f9325db8c481ed961669 (diff)
[win] Fixed some compilation errors. Only OpenGL errors left
Diffstat (limited to 'std/bind.hpp')
-rw-r--r--std/bind.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/std/bind.hpp b/std/bind.hpp
index 26c2a1aa84..5968b26bd1 100644
--- a/std/bind.hpp
+++ b/std/bind.hpp
@@ -1,10 +1,15 @@
#pragma once
#include "common_defines.hpp"
+#include "target_os.hpp"
#ifdef new
#undef new
#endif
+#ifdef OMIM_OS_WINDOWS
+ #define BOOST_BIND_ENABLE_STDCALL
+#endif
+
#include <boost/bind.hpp>
using boost::bind;
using boost::ref;