Valerio Messina via Msys2-users <msys2-users@lists.sourceforge.net> writes:
> #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? The runtime comes from the mingw-w64 project: https://mingw-w64.org/ Try asking on their mailing list, that's where you can find the people that know the answer. _______________________________________________ Msys2-users mailing list Msys2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/msys2-users