Wed Oct 18 07:10:34 2023 by Mizuki |
setmode is a win32-only thing defined in io.h, and that's why gcc throws an warning about implicitly declared function when compiling/cross-compiling to windows. I suggest adding these lines to your include: #ifdef WIN32 #include <io.h> #elif WIN32 #include <io.h> #endif |