mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
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:
11
meson.build
11
meson.build
@@ -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('''
|
||||
|
||||
Reference in New Issue
Block a user