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-03-07 03:20:02 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:13:01 +0300
commitc73dc3897e51aba3efc163f1724db61d4711c841 (patch)
treef566beaf9330abcf89803c25fa631d372cb22cac /std
parent06c47c5715255b3e823e3e85c20ce401d085313a (diff)
Timsort now is compilable as C++
Diffstat (limited to 'std')
-rw-r--r--std/stdlib.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/std/stdlib.hpp b/std/stdlib.hpp
new file mode 100644
index 0000000000..b8079a6f96
--- /dev/null
+++ b/std/stdlib.hpp
@@ -0,0 +1,12 @@
+#pragma once
+#include "common_defines.hpp"
+
+#ifdef new
+#undef new
+#endif
+
+#include <stdlib.h>
+
+#ifdef DEBUG_NEW
+#define new DEBUG_NEW
+#endif