X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=m4%2Fstdint.m4;h=c21c129167bd33c5e126c82e7f7c57004dc01209;hp=045279db5054551484f95f4f969f3258b58ebd49;hb=772c1e688a51b32331fae7993429b3a03d766d8d;hpb=5abcb8724ac7046d62203ea643e9ce69f63a6a8a diff --git a/m4/stdint.m4 b/m4/stdint.m4 index 045279d..c21c129 100644 --- a/m4/stdint.m4 +++ b/m4/stdint.m4 @@ -1,25 +1,25 @@ PSI_CHECK_STDINT() { AC_CHECK_HEADERS(stdint.h) - PSI_TYPE(int_least8_t, int) - PSI_TYPE(int_least16_t, int) - PSI_TYPE(int_least32_t, int) - PSI_TYPE(int_least64_t, int) + PSI_TYPE(int_least8_t, sint) + PSI_TYPE(int_least16_t, sint) + PSI_TYPE(int_least32_t, sint) + PSI_TYPE(int_least64_t, sint) PSI_TYPE(uint_least8_t, uint) PSI_TYPE(uint_least16_t, uint) PSI_TYPE(uint_least32_t, uint) PSI_TYPE(uint_least64_t, uint) - PSI_TYPE(int_fast8_t, int) - PSI_TYPE(int_fast16_t, int) - PSI_TYPE(int_fast32_t, int) - PSI_TYPE(int_fast64_t, int) + PSI_TYPE(int_fast8_t, sint) + PSI_TYPE(int_fast16_t, sint) + PSI_TYPE(int_fast32_t, sint) + PSI_TYPE(int_fast64_t, sint) PSI_TYPE(uint_fast8_t, uint) PSI_TYPE(uint_fast16_t, uint) PSI_TYPE(uint_fast32_t, uint) PSI_TYPE(uint_fast64_t, uint) - PSI_TYPE(intptr_t, int) + PSI_TYPE(intptr_t, sint) PSI_TYPE(uintptr_t, uint) - PSI_TYPE(intmax_t, int) + PSI_TYPE(intmax_t, sint) PSI_TYPE(uintmax_t, uint) PSI_CONST(INT8_MIN, int)