summaryrefslogtreecommitdiff
path: root/Tests/ConfigSources/iface_debug_src.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/ConfigSources/iface_debug_src.cpp')
-rw-r--r--Tests/ConfigSources/iface_debug_src.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/Tests/ConfigSources/iface_debug_src.cpp b/Tests/ConfigSources/iface_debug_src.cpp
index 63b22fcd1..010059f1f 100644
--- a/Tests/ConfigSources/iface_debug_src.cpp
+++ b/Tests/ConfigSources/iface_debug_src.cpp
@@ -1,5 +1,11 @@
+#ifndef CFG_DEBUG
+# error "This source should only be compiled in a Debug configuration."
+#endif
+#ifdef CFG_OTHER
+# error "This source should not be compiled in a non-Debug configuration."
+#endif
-#include "iface_debug.h"
+#include "iface.h"
int iface_debug()
{