aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2023-09-12 06:24:08 +0000
committerXin LI <delphij@FreeBSD.org>2023-09-12 06:24:08 +0000
commit90474518912f5e5f49bc5325b7f88e94eba64d6a (patch)
treec22a1fdfaadb24704710c8b786782a20540d4b99
parent52d4a4d4e0dedc72bc33082a3f84c2d0fd6f2cbb (diff)
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.
-rw-r--r--lib/libmagic/config.h2
1 files changed, 1 insertions, 1 deletions
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 <byteswap.h> header file. */
-#define HAVE_BYTESWAP_H 1
+/* #undef HAVE_BYTESWAP_H */
/* Define to 1 if you have the <bzlib.h> header file. */
/* #undef HAVE_BZLIB_H */