diff -r 2e6e9d9f2159 -r c9d008861178 src/cx/common.h --- a/src/cx/common.h Wed Feb 08 20:26:09 2023 +0100 +++ b/src/cx/common.h Wed Feb 08 20:26:26 2023 +0100 @@ -92,6 +92,7 @@ #include #include #include +#include /** * Function pointer compatible with fwrite-like functions. @@ -104,13 +105,11 @@ ); #ifdef _WIN32 -#ifndef __WORDSIZE -#ifdef _WIN64 -#define __WORDSIZE 64 -#else -#define __WORDSIZE 32 -#endif -#endif // __WORDSIZE + +#ifdef __MINGW32__ +#include +#endif // __MINGW32__ + #else // !_WIN32 #include