]> git.ipfire.org Git - thirdparty/git.git/commit
config.mak.uname: add clock_gettime() to the cygwin build
authorRamsay Jones <ramsay@ramsayjones.plus.com>
Wed, 16 Apr 2025 23:18:30 +0000 (00:18 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 17 Apr 2025 03:43:44 +0000 (20:43 -0700)
commita45ca6fcfe3aeb31aa9c12de5eeced225e253052
treefc99f73131b19b12c578c2a795a7bbb5af86e32f
parent394c4dfd510b0612f66b08bbfa87324c01b33ac0
config.mak.uname: add clock_gettime() to the cygwin build

Cygwin supports the clock_gettime() function, along with the associated
CLOCK_MONOTONIC preprocessor symbol. The autoconf and meson builds both
enable the use of those symbols. In order to have the same configuration
for the make builds, add the HAVE_CLOCK_GETTIME and HAVE_CLOCK_MONOTONIC
build variables to the cygwin section of the config.mak.uname file.

Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
config.mak.uname