mtmd: explicitly forbidden inclusion of private header and libcommon (#17946)
This commit is contained in:
parent
12280ae905
commit
17158965ac
5 changed files with 19 additions and 0 deletions
|
|
@ -32,6 +32,10 @@
|
|||
#define STB_IMAGE_IMPLEMENTATION
|
||||
#include "stb/stb_image.h"
|
||||
|
||||
#ifdef MTMD_INTERNAL_HEADER
|
||||
#error "mtmd-helper is a public library outside of mtmd. it must not include internal headers"
|
||||
#endif
|
||||
|
||||
//
|
||||
// internal logging functions
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue