diff options
author | Alex Zolotarev <deathbaba@gmail.com> | 2012-09-06 14:46:06 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:43:06 +0300 |
commit | 66afd37cc6204975545a071b11f2a87416e77e4b (patch) | |
tree | 8f984d275912535fa0718db84d5aa96ee3118010 /std/bind.hpp | |
parent | 3aabb33fb24db5204d58f9325db8c481ed961669 (diff) |
[win] Fixed some compilation errors. Only OpenGL errors left
Diffstat (limited to 'std/bind.hpp')
-rw-r--r-- | std/bind.hpp | 5 |
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; |