We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29c64ca commit 504a7d5Copy full SHA for 504a7d5
2 files changed
src/engine_lib/include/misc/memcheck.h
@@ -1,7 +1,4 @@
1
-#if defined(ENGINE_MEMCHECK_ENABLED)
2
-#if !defined(DEBUG)
3
-#error "memcheck should only be included in non-release builds"
4
-#endif
+#if defined(ENGINE_MEMCHECK_ENABLED) && defined(DEBUG)
5
6
#pragma once
7
src/engine_lib/src/misc/memcheck.c
@@ -1,4 +1,4 @@
#include <misc/memcheck.h>
0 commit comments