aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/foonathan-memory/config_impl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/foonathan-memory/config_impl.hpp')
-rw-r--r--vcpkg/ports/foonathan-memory/config_impl.hpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/foonathan-memory/config_impl.hpp b/vcpkg/ports/foonathan-memory/config_impl.hpp
new file mode 100644
index 0000000..da18680
--- /dev/null
+++ b/vcpkg/ports/foonathan-memory/config_impl.hpp
@@ -0,0 +1,13 @@
+#ifndef Z_VCPKG_FOONATHAN_MEMORY_DEBUG
+# if defined(NDEBUG) && !defined(_DEBUG)
+# define Z_VCPKG_FOONATHAN_MEMORY_DEBUG 0
+# else
+# define Z_VCPKG_FOONATHAN_MEMORY_DEBUG 1
+# endif
+#endif
+
+#if Z_VCPKG_FOONATHAN_MEMORY_DEBUG
+# include "config_impl-debug.hpp"
+#else
+# include "config_impl-release.hpp"
+#endif