From: Ramsay Jones Date: Wed, 16 Apr 2025 23:18:30 +0000 (+0100) Subject: config.mak.uname: add clock_gettime() to the cygwin build X-Git-Tag: v2.50.0-rc0~80^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a45ca6fcfe3aeb31aa9c12de5eeced225e253052;p=thirdparty%2Fgit.git 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 Signed-off-by: Junio C Hamano --- diff --git a/config.mak.uname b/config.mak.uname index 1b3ba8a341..d058b34292 100644 --- a/config.mak.uname +++ b/config.mak.uname @@ -251,6 +251,8 @@ ifeq ($(uname_O),Cygwin) endif HAVE_DEV_TTY = YesPlease HAVE_GETDELIM = YesPlease + HAVE_CLOCK_GETTIME = YesPlease + HAVE_CLOCK_MONOTONIC = YesPlease HAVE_ALLOCA_H = YesPlease NEEDS_LIBICONV = YesPlease NO_FAST_WORKING_DIRECTORY = UnfortunatelyYes