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:
Diffstat (limited to 'std')
-rw-r--r--std/atomic.hpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/std/atomic.hpp b/std/atomic.hpp
new file mode 100644
index 0000000000..0e479ffa0a
--- /dev/null
+++ b/std/atomic.hpp
@@ -0,0 +1,15 @@
+#pragma once
+#include "common_defines.hpp"
+
+#ifdef new
+#undef new
+#endif
+
+#include <atomic>
+
+using std::atomic;
+using std::atomic_flag;
+
+#ifdef DEBUG_NEW
+#define new DEBUG_NEW
+#endif