blob: 88a9e85cffb1cf9f7b1296b9fff54edc73603231 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#pragma once
#include "common_defines.hpp"
#include "target_os.hpp"
#ifdef new
#undef new
#endif
#if __cplusplus > 199711L
#include <functional>
using std::bind;
using std::ref;
using std::cref;
using std::placeholders::_1;
using std::placeholders::_2;
using std::placeholders::_3;
using std::placeholders::_4;
using std::placeholders::_5;
#else
#ifdef OMIM_OS_WINDOWS
#define BOOST_BIND_ENABLE_STDCALL
#endif
#include <boost/bind.hpp>
using boost::bind;
using boost::ref;
using boost::cref;
#endif
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
|