diff --git a/src/utils/ini.h b/src/utils/ini.h index 7b1f03b..79a5fae 100644 --- a/src/utils/ini.h +++ b/src/utils/ini.h @@ -96,7 +96,7 @@ int ini_parse_string(const char* string, ini_handler handler, void* user); /* Nonzero to use stack for line buffer, zero to use heap (malloc/free). */ #ifndef INI_USE_STACK -#define INI_USE_STACK 1 +#define INI_USE_STACK 0 #endif /* Maximum line length for any line in INI file (stack or heap). Note that @@ -109,7 +109,7 @@ int ini_parse_string(const char* string, ini_handler handler, void* user); fixed-size buffer of INI_MAX_LINE bytes. Only applies if INI_USE_STACK is zero. */ #ifndef INI_ALLOW_REALLOC -#define INI_ALLOW_REALLOC 0 +#define INI_ALLOW_REALLOC 1 #endif /* Initial size in bytes for heap line buffer. Only applies if INI_USE_STACK