mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 04:22:44 +00:00
364c014d9b
fts has different types for its compare rotuine. Other systems, not 4.4BSD based, have a non-const version. Before we tested against __GLIBC__, but now we test against __linux__ because that's Linux's API and musl doesn't define __GLIBC__. In addition, link against libftl on this platform since musl doesn't include ftl routines in libc, but rather in libftl. Co-authored-by: Val Packett <val@packett.cool> Sponsored by: Netflix Pull Request: https://github.com/freebsd/freebsd-src/pull/1066 Reviewed by: val_packett.cool Differential Revision: https://reviews.freebsd.org/D45349
58 lines
1.4 KiB
C
58 lines
1.4 KiB
C
#ifdef __cplusplus
|
|
#error "Do not use C++. See the INSTALL file."
|
|
#endif
|
|
|
|
#include <sys/types.h>
|
|
|
|
#define MAN_CONF_FILE "/etc/man.conf"
|
|
#define MANPATH_BASE "/usr/share/man"
|
|
#define MANPATH_DEFAULT "/usr/share/man:/usr/local/man"
|
|
#define OSENUM MANDOC_OS_OTHER
|
|
#define UTF8_LOCALE "en_US.UTF-8"
|
|
#define HAVE_DIRENT_NAMLEN 1
|
|
#define HAVE_ENDIAN 0
|
|
#define HAVE_ERR 1
|
|
#define HAVE_FTS 1
|
|
#if defined(__linux__) || defined(__APPLE__)
|
|
#define HAVE_FTS_COMPARE_CONST 0
|
|
#else
|
|
#define HAVE_FTS_COMPARE_CONST 1
|
|
#endif
|
|
#define HAVE_GETLINE 1
|
|
#define HAVE_GETSUBOPT 1
|
|
#define HAVE_ISBLANK 1
|
|
#define HAVE_LESS_T 1
|
|
#define HAVE_MKDTEMP 1
|
|
#define HAVE_MKSTEMPS 1
|
|
#define HAVE_NTOHL 1
|
|
#define HAVE_PLEDGE 0
|
|
#define HAVE_PROGNAME 1
|
|
#define HAVE_REALLOCARRAY 1
|
|
#define HAVE_RECALLOCARRAY 0
|
|
#define HAVE_REWB_BSD 1
|
|
#define HAVE_REWB_SYSV 1
|
|
#define HAVE_SANDBOX_INIT 0
|
|
#define HAVE_STRCASESTR 1
|
|
#define HAVE_STRINGLIST 1
|
|
#define HAVE_STRLCAT 1
|
|
#define HAVE_STRLCPY 1
|
|
#define HAVE_STRNDUP 1
|
|
#define HAVE_STRPTIME 1
|
|
#define HAVE_STRSEP 1
|
|
#define HAVE_STRTONUM 1
|
|
#define HAVE_SYS_ENDIAN 1
|
|
#define HAVE_VASPRINTF 1
|
|
#define HAVE_WCHAR 1
|
|
#define HAVE_OHASH 1
|
|
#define NEED_XPG4_2 0
|
|
|
|
#define BINM_APROPOS "apropos"
|
|
#define BINM_CATMAN "catman"
|
|
#define BINM_MAKEWHATIS "makewhatis"
|
|
#define BINM_MAN "man"
|
|
#define BINM_SOELIM "soelim"
|
|
#define BINM_WHATIS "whatis"
|
|
#define BINM_PAGER "less"
|
|
|
|
extern void *recallocarray(void *, size_t, size_t, size_t);
|