Message 188520 - Python tracker (original) (raw)

According to what you wrote above, uint32_t can always be used on any platform.

The issue is in detecting whether uint32_t exists or not. In cases (1) and (3), that can be done in the preprocessor with an "#ifdef uint32_t". In case (2), it can't: the check fails, because uint32_t isn't a preprocessor define---it's a typedef. That's why we need the HAVE_UINT32_T check.