[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cmocka under x86-64-w64-mingw32


I'm trying to use cmocka under 64 bit mingw compiler. However it silently
fails.

I have tracked down the issue to these lines in cmocka.h

# if __WORDSIZE == 64
#  define LargestIntegralType unsigned long int
# else
#  define LargestIntegralType unsigned long long int
# endif

shouldn't be the other way around?

-- 
Dejan Crnila,
Software engineer,
Dewesoft d.o.o.

Follow-Ups:
Re: cmocka under x86-64-w64-mingw32Lukas Slebodnik <lslebodn@xxxxxxxxxx>