From 90474518912f5e5f49bc5325b7f88e94eba64d6a Mon Sep 17 00:00:00 2001 From: Xin LI Date: Mon, 11 Sep 2023 23:24:08 -0700 Subject: [PATCH] Disable byteswap.h for now. Ideally we should be testing __FreeBSD_version (1400079) and/or BOOTSTRAPPING from an older version, but restore compatibility to older FreeBSD versions and macOS while we find out a better way to fix it. --- lib/libmagic/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libmagic/config.h b/lib/libmagic/config.h index b842859fc2ab..232d801a6512 100644 --- a/lib/libmagic/config.h +++ b/lib/libmagic/config.h @@ -20,7 +20,7 @@ #define HAVE_ASPRINTF 1 /* Define to 1 if you have the header file. */ -#define HAVE_BYTESWAP_H 1 +/* #undef HAVE_BYTESWAP_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_BZLIB_H */