utf8proc

A clean C library for processing UTF-8 Unicode data
git clone https://git.sinitax.com/juliastrings/utf8proc
Log | Files | Refs | README | LICENSE | sfeed.txt

commit a78bee90c2b10b3b8ad61abcb69cb61e93b6d9bd
parent 0a8526c8d6ac77e7b5f83ce99808c443aec7957f
Author: Michael Williamson <mike@zwobble.org>
Date:   Thu,  4 Jan 2024 00:34:07 +0000

Use stdint.h instead of inttypes.h (#223)

This improves support for targeting wasm32 with clang 12.
Diffstat:
Mutf8proc.h | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/utf8proc.h b/utf8proc.h @@ -79,7 +79,7 @@ #include <stdlib.h> #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 <stddef.h> # include <stdbool.h> -# include <inttypes.h> +# include <stdint.h> typedef int8_t utf8proc_int8_t; typedef uint8_t utf8proc_uint8_t; typedef int16_t utf8proc_int16_t;