From e530395c2cd261d598094dc9ea785e90a753c5f1 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 19 Jun 2022 17:05:47 +0100 Subject: patch 8.2.5131: timeout implementation is not optimal Problem: Timeout implementation is not optimal. Solution: Further improvements for timeouts. Add a test for searchpair() timeout. (partly by Paul Ollis) --- src/auto/configure | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/auto') diff --git a/src/auto/configure b/src/auto/configure index 3cb6e51fee..5f032bff9e 100755 --- a/src/auto/configure +++ b/src/auto/configure @@ -4769,6 +4769,8 @@ rm -f core conftest.err conftest.$ac_objext \ MACOS_X_DARWIN=yes OS_EXTRA_SRC="os_macosx.m os_mac_conv.c"; OS_EXTRA_OBJ="objects/os_macosx.o objects/os_mac_conv.o" + $as_echo "#define HAVE_TIMER_CREATE 1" >>confdefs.h + CPPFLAGS="$CPPFLAGS -DMACOS_X_DARWIN" if test -z "$with_x" -a "X$enable_gui" != Xmotif -a "X$enable_gui" != Xgtk2 -a "X$enable_gui" != Xgtk3; then @@ -13044,7 +13046,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext #include #include -static void set_flag(union sigval) {} +static void set_flag(union sigval sv) {} int main () @@ -13073,7 +13075,7 @@ else #include #include -static void set_flag(union sigval) {} +static void set_flag(union sigval sv) {} int main () -- cgit v1.2.3