mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
build: retire NO_UINTMAX_T
A previous commit removed the last user of it, and it is no longer useful with the codebase moving towards C99, which specifies its definition. Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
46a3ab744b
commit
0392f976a7
11
meson.build
11
meson.build
@@ -1331,17 +1331,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