summaryrefslogtreecommitdiffstats
path: root/src/extras/debugmenu.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-05-09 15:06:13 +0200
committerSergeanur <s.anureev@yandex.ua>2020-05-09 15:06:13 +0200
commit28103775ba799133b252e423e3da62ed7b09f7b9 (patch)
tree02b9958d54e040fe20310990a9da5636fe0527db /src/extras/debugmenu.h
parentFix compilation error (diff)
downloadre3-28103775ba799133b252e423e3da62ed7b09f7b9.tar
re3-28103775ba799133b252e423e3da62ed7b09f7b9.tar.gz
re3-28103775ba799133b252e423e3da62ed7b09f7b9.tar.bz2
re3-28103775ba799133b252e423e3da62ed7b09f7b9.tar.lz
re3-28103775ba799133b252e423e3da62ed7b09f7b9.tar.xz
re3-28103775ba799133b252e423e3da62ed7b09f7b9.tar.zst
re3-28103775ba799133b252e423e3da62ed7b09f7b9.zip
Diffstat (limited to '')
-rw-r--r--src/extras/debugmenu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/extras/debugmenu.h b/src/extras/debugmenu.h
index ae595c1f..eb56c8f9 100644
--- a/src/extras/debugmenu.h
+++ b/src/extras/debugmenu.h
@@ -1,5 +1,7 @@
#pragma once
+#ifdef DEBUGMENU
+
typedef void (*TriggerFunc)(void);
struct Menu;
@@ -85,3 +87,4 @@ inline DebugMenuEntry *DebugMenuAddVarBool8(const char *path, const char *name,
{
return DebugMenuAddVarBool8(path, name, (int8_t*)ptr, triggerFunc);
}
+#endif \ No newline at end of file