This is actually not directly related to the platform, but to the C compiler that builds Python/Numpy. `long` is guaranteed to be at least 32 bits by the C standard, so we should be good on all platforms.