scummvm/scummvm — comment on commit 00242281006dd26204a3b438f1ecb38928bfb75f
File: configure line 3900
By criezy:

I have an issue here: with this _UINT64 define I do get error messages
/System/Library/Frameworks/Security.framework/Headers/cssmtype.h:39: error: ‘uint64’ does not name a type
/System/Library/Frameworks/Security.framework/Headers/cssmtype.h:43: error: ‘CSSM_LONG_HANDLE’ does not name a type
/System/Library/Frameworks/Security.framework/Headers/cssmtype.h:163: error: ‘uint64’ does not name a type
/System/Library/Frameworks/Security.framework/Headers/cssmtype.h:164: error: ‘CSSM_PRIVILEGE’ does not name a type
/System/Library/Frameworks/Security.framework/Headers/cssmtype.h:1708: error: ‘CSSM_LONG_HANDLE’ does not name a type

and I have a lot of other similar messages in several other system files.
If I remove this define everything works fine.

I suspect this is linked to the fact that configure does not find a 64 bits type on my system and therefore uint64 is not defined in config.h:
Type with 8 bytes... couldn't find data type with 8 bytes

Maybe a check that $_def_64bit_type_signed is not empty should be added before defining _UINT64?
But maybe the issue is actually that the detection of a 8 bytes data type fails (I checked that long long is 64 bits but configure apparently doesn't detect that).

This is on 32 bits MacOS X 10.6