Open API92 opened 1 month ago
This part at the bottom:
#if defined(INCBIN_MSCL)
# define INCTXT(NAME, FILENAME) \
INCBIN_EXTERN(NAME)
Should be changed to this:
#if defined(INCBIN_MSCL)
# define INCTXT(NAME, FILENAME) \
INCBIN_EXTERN_2(char, NAME)
So that INCTXT()
will always create const char *
declarations.
Tested with clang-cl.exe on amd64 and x86.