Merge branch 'bs/config-mak-freebsd'

Drop FreeBSD 4 support and assume we are at least at FreeBSD 6 with
memmem() supported.

* bs/config-mak-freebsd:
  build: retire NO_UINTMAX_T
  config.mak.uname: set NO_MEMMEM only for functional version
This commit is contained in:
Junio C Hamano
2025-07-14 11:19:23 -07:00
4 changed files with 3 additions and 30 deletions

View File

@@ -1420,17 +1420,6 @@ if compiler.compiles('''
libgit_c_args += '-DHAVE_CLOCK_MONOTONIC'
endif
if not compiler.compiles('''
#include <inttypes.h>
void func(void)
{
uintmax_t x = 0;
}
''', name: 'uintmax_t')
libgit_c_args += '-DNO_UINTMAX_T'
endif
has_bsd_sysctl = false
if compiler.has_header('sys/sysctl.h')
if compiler.compiles('''