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>

Ramsay Jones committed Apr 17, 2025 at 00:18 UTC a45ca6fcfe3aeb31aa9c12de5eeced225e253052
1 file changed +2
config.mak.uname
+2
@@ -251,6 +251,8 @@ ifeq ($(uname_O),Cygwin)
251 endif
252 HAVE_DEV_TTY = YesPlease
253 HAVE_GETDELIM = YesPlease
254 + HAVE_CLOCK_GETTIME = YesPlease
255 + HAVE_CLOCK_MONOTONIC = YesPlease
256 HAVE_ALLOCA_H = YesPlease
257 NEEDS_LIBICONV = YesPlease
258 NO_FAST_WORKING_DIRECTORY = UnfortunatelyYes