diff options
| author | KonAki <konaki@anokonaki.org> | 2026-10-10 13:40:04 +0800 |
|---|---|---|
| committer | KonAki <konaki@anokonaki.org> | 2026-10-10 13:40:04 +0800 |
| commit | 996dcc5002d1d5961d54d924ae4a44f31898024e (patch) | |
| tree | 6864dd96052343717cab6f44231ac51b8d4db018 | |
| parent | de91a3df52b25adc8d10ee8759bf969395905052 (diff) | |
debug functions only when the debug module is built
| -rw-r--r-- | kon/kondebug.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kon/kondebug.h b/kon/kondebug.h index ecee066..f17f0c2 100644 --- a/kon/kondebug.h +++ b/kon/kondebug.h @@ -46,7 +46,7 @@ typedef enum kon_debugVarType { /* argv[0] is the command name */ typedef void (*kon_debugCommandFn)(kon_debug_t *debug, void *user, int argc, char **argv); -#ifdef KON_DEVELOPER +#if defined(KON_DEVELOPER) && defined(KON_MODULE_DEBUG) kon_debug_t *kon_debugCreate(kon_font_t *font); void kon_debugDestroy(kon_debug_t *debug); |
