commit | c0d28c3cad5c9e02dfa93b3ff3e6953ad0f22d75 | [log] [tgz] |
---|---|---|
author | Laslo Hunhold <dev@frign.de> | Fri Feb 24 18:21:02 2023 +0100 |
committer | Laslo Hunhold <dev@frign.de> | Fri Feb 24 18:23:45 2023 +0100 |
tree | 6dbdf7945ac45831d1c6c74e8ee97e47ed01e1eb | |
parent | 0e95e5c797b1dc41117e1ea5455f2a7f2932868d [diff] |
Replace all POSIX-features to become fully ISO-C99 As it turned out, the only things that needed replacing were getline(), strdup() and the timing in the benchmarks. Analogously, we replace -D_DEFAULT_SOURCE with -D_ISOC99_SOURCE. This way we further extend the number of platforms where libgrapheme can be compiled and run on, e.g. MSVC still does not include getline(). Signed-off-by: Laslo Hunhold <dev@frign.de>