diff options
Diffstat (limited to 'firmware/export/config.h')
-rw-r--r-- | firmware/export/config.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h index 516161191b..994397e595 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h @@ -908,5 +908,11 @@ Lyre prototype 1 */ #define STORAGE_ALIGN_MASK 0 #endif +/* This attribute can be used to enable to detection of plugin file handles leaks. + * When enabled, the plugin core will monitor open/close/creat and when the plugin exits + * will display an error message if the plugin leaked some file handles */ +#ifndef SIMULATOR +#define HAVE_PLUGIN_CHECK_OPEN_CLOSE +#endif #endif /* __CONFIG_H__ */ |