From 68e953e34b744d4584a04c314e6b9f65709c3333 Mon Sep 17 00:00:00 2001 From: Tankut Baris Aktemur Date: Thu, 16 Apr 2026 11:24:46 +0200 Subject: [PATCH] gdb: remove an unintended #undef An #undef seems to have sneaked into gdbsupport/scoped_signal_handler.h. This causes the HAVE_SIGACTION macro to be cleared unintentionally. Remove the line. Approved-By: Tom Tromey --- gdbsupport/scoped_signal_handler.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/gdbsupport/scoped_signal_handler.h b/gdbsupport/scoped_signal_handler.h index d2b5a764d89..6109035c50a 100644 --- a/gdbsupport/scoped_signal_handler.h +++ b/gdbsupport/scoped_signal_handler.h @@ -22,8 +22,6 @@ #include -#undef HAVE_SIGACTION - /* RAII class to set a signal handler for a scope, that will take care of unsetting the handler when the scope is left. This class will try to use sigaction whenever available, following the