fix a compile warning

This patch fixes a compile warning in a build system where the macro __STDC_LIMIT_MACROS is predefined.