<sub>setmode</sub> on win32

setmode on win32

Return to topic list

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
 

Return to topic list



New message:
Topic:
Posted by:

Type the values of the dice shown below:

Return to topic list