Define DEVELOPER_MODE in developer-mode builds

So that build-time consumers (e.g. feature-test) can detect developer
mode through a single dedicated symbol rather than proxying through
implementation-detail defines like ISC_MEM_TRACKLINES.

Assisted-by: Claude:claude-opus-4-7
This commit is contained in:
Nicki Křížek 2026-05-27 15:26:15 +00:00
parent be4f6ad202
commit d9aeee7901

View file

@ -330,6 +330,7 @@ if not cc.compiles(constexpr_test, name: 'usage of constexpr')
endif
if developer_mode
config.set('DEVELOPER_MODE', 1)
config.set('ISC_LIST_CHECKINIT', 1)
config.set('ISC_MEM_TRACKLINES', 1)
config.set('ISC_MUTEX_ERROR_CHECK', 1)