#include <stdlib.h>
MB_CUR_MAX while it must store a number between 1 and MB_LEN_MAX (that is almost always 16), it is of type 'size_t', so 4 Bytes on 32 bit systems, and 8 Bytes on 64 bit systems. This is valid on Linux.

When using mingw it results of type 'size_t' 4 Bytes targeting win32, but of type 'int' 4 Bytes when targeting Win64.

This difference between Linux64 and Win64 platforms complicate porting software.
Is it a known difference?

thank you,
--
Valerio


_______________________________________________
Msys2-users mailing list
Msys2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to