own chDbgCheck
Posted: Fri Apr 06, 2018 8:20 am
What is best way to define own chDbgCheck macro ?
In chdebug.h there is #if !defined(chDbgCheck), but this file doesn't include other files to overide it.
It could be a good idea to include global user.h if exists to override macros like this ?
In chdebug.h there is #if !defined(chDbgCheck), but this file doesn't include other files to overide it.
It could be a good idea to include global user.h if exists to override macros like this ?