zstd/lib/dictBuilder
Brad Smith 0d1f8de9ad Check for build environment instead of just _GNU_SOURCE
Fixes the build on OpenBSD and NetBSD. It is too easy for _GNU_SOURCE
to be defined even on non-Linux systems. Found via py-zstandard with
the embedded copy of zstandard and Python defines _GNU_SOURCE.

Also simplify the Linux checking, there is no need to check the rest
of the symbol names.
2025-08-19 20:06:24 -04:00
..
cover.c Check for build environment instead of just _GNU_SOURCE 2025-08-19 20:06:24 -04:00
cover.h reduce the amount of includes in "cover.h" 2024-03-13 11:29:28 -07:00
divsufsort.c fixed -Wconversion for divsufsort.c 2025-02-26 08:12:11 -08:00
divsufsort.h Remove extern C blocks from lib/* internal APIs (except xxhash.h) 2024-12-19 16:00:11 -08:00
fastcover.c [zstd] Remove global variables in dictBuilder 2025-03-05 10:35:01 -05:00
zdict.c fixed -Wconversion for zdict 2025-02-26 08:07:51 -08:00