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:
Diffstat (limited to 'std/cstring.hpp')
-rw-r--r--std/cstring.hpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/std/cstring.hpp b/std/cstring.hpp
new file mode 100644
index 0000000000..7cc82ec986
--- /dev/null
+++ b/std/cstring.hpp
@@ -0,0 +1,18 @@
+// Use this header for the functions:
+// - strlen, strcpy, strcmp
+// - memcpy, memcmp, memset
+
+#pragma once
+#include "common_defines.hpp"
+
+#ifdef new
+#undef new
+#endif
+
+#include <cstring>
+
+// Use string.h header if cstring is absent for target platform.
+
+#ifdef DEBUG_NEW
+#define new DEBUG_NEW
+#endif