summaryrefslogtreecommitdiff
path: root/include/engine
diff options
context:
space:
mode:
Diffstat (limited to 'include/engine')
-rw-r--r--include/engine/state.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/engine/state.h b/include/engine/state.h
index cf486cc..dcd2966 100644
--- a/include/engine/state.h
+++ b/include/engine/state.h
@@ -21,6 +21,10 @@ void State_free(StateType type, memory *mem);
StateType State_update(StateType type, memory *mem);
/* Reloads shared object file associated with state */
+#ifdef DAW_BUILD_HOTRELOAD
bool State_reload(StateType type);
+#else
+#define State_reload(_) true
+#endif
#endif