I don't use VS code, but you use it for lite-C, not for C++, undefine WIN32 before including defaut.c.

#undef WIN32
#include <default.c>

Not sure if that fixes it, but that's the first thing I'd try.