Platform-dependent int types was one of C's design mistakes in terms of portability. Today we're also at a point where CPU vendors have largely converged on 64-bit machines that can do 16, 32 and 64-bit arithmetic fast. You can still use ifdefs to swap int types when you need.
In C programming, do not use:
int, char, unsigned int, unsigned char...
Please use:
uint8_t, int8_t, int32_t, int64_t...