Mike Zeller
d6701c68d3
illumos has endian.h
...
(cherry picked from commit 4339b0fe05 )
2025-05-15 10:24:32 +02:00
tree-sitter-ci-bot[bot]
6f2dbaab5f
build: do not define _POSIX_C_SOURCE on NetBSD ( #4196 )
...
It leads to missing symbols, see #4180 .
(cherry picked from commit 2bf04d1f04 )
---------
Co-authored-by: Thomas Klausner <wiz@gatalith.at>
2025-03-02 23:46:23 +01:00
Christian Clason
36f5f7918f
fix(endian): rely on system headers where possible
...
Problem: Macros (re)defined in `endian.h` conflict with system headers
on FreeBSD (at least).
Solution: Rely on system `endian.h` on OpenBSD, FreeBSD, NetBSD, and
DragonFly
Ref. https://github.com/mikepb/endian.h/issues/4
2025-01-25 13:28:46 -05:00
Lucas Marçal
aea3a4720a
fix(endian): support POSIX mode on Apple platforms
2025-01-06 01:13:04 -05:00
Amaan Qureshi
20c2783310
fix(lib): fix compilation issue on windows with endian.h
2024-10-11 15:25:51 -04:00
Amaan Qureshi
8943983df6
feat!: properly handle UTF-16 endianness encoding
2024-10-05 21:12:48 -04:00