From: Michael Williamson Date: Thu, 4 Jan 2024 00:34:07 +0000 (+0000) Subject: Use stdint.h instead of inttypes.h (#223) X-Git-Tag: archive/raspbian/2.11.3-2+rpi1^2~10^2~1^2~16 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a78bee90c2b10b3b8ad61abcb69cb61e93b6d9bd;p=utf8proc.git Use stdint.h instead of inttypes.h (#223) This improves support for targeting wasm32 with clang 12. --- diff --git a/utf8proc.h b/utf8proc.h index 631553c..ad1f2f8 100644 --- a/utf8proc.h +++ b/utf8proc.h @@ -79,7 +79,7 @@ #include #if defined(_MSC_VER) && _MSC_VER < 1800 -// MSVC prior to 2013 lacked stdbool.h and inttypes.h +// MSVC prior to 2013 lacked stdbool.h and stdint.h typedef signed char utf8proc_int8_t; typedef unsigned char utf8proc_uint8_t; typedef short utf8proc_int16_t; @@ -107,7 +107,7 @@ typedef bool utf8proc_bool; #else # include # include -# include +# include typedef int8_t utf8proc_int8_t; typedef uint8_t utf8proc_uint8_t; typedef int16_t utf8proc_int16_t;