mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 06:15:33 -04:00
mandoc: Fix bootstrapping on macOS with Clang 16 / Apple Clang 15
macOS, like Linux, does not include an outer const qualifier for its
fts_open callback arguments, so -Wincompatible-function-pointer-types
also picks this up and breaks the build now Clang 16 makes it an error
by default. Extend the existing Linux support to fix this.
MFC after: 1 week
(cherry picked from commit ce312ef72d)
This commit is contained in:
parent
8cb8aca83f
commit
ef6935581e
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@
|
|||
#define HAVE_ENDIAN 0
|
||||
#define HAVE_ERR 1
|
||||
#define HAVE_FTS 1
|
||||
#ifdef __GLIBC__
|
||||
#if defined(__GLIBC__) || defined(__APPLE__)
|
||||
#define HAVE_FTS_COMPARE_CONST 0
|
||||
#else
|
||||
#define HAVE_FTS_COMPARE_CONST 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue