From f21c193a30291f8c6461490d2ced3a9697dec186 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Mon, 5 Jan 2026 16:26:23 +0100 Subject: [PATCH] Process miod's review comments Signed-off-by: Otto Moerbeek --- pdns/Makefile.am | 1 + pdns/sanitizer.hh | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/pdns/Makefile.am b/pdns/Makefile.am index d429e782b5..891819a5ca 100644 --- a/pdns/Makefile.am +++ b/pdns/Makefile.am @@ -261,6 +261,7 @@ pdns_server_SOURCES = \ resolver.cc resolver.hh \ responsestats.cc responsestats.hh responsestats-auth.cc \ rfc2136handler.cc \ + sanitizer.hh \ secpoll-auth.cc secpoll-auth.hh \ secpoll.cc secpoll.hh \ serialtweaker.cc \ diff --git a/pdns/sanitizer.hh b/pdns/sanitizer.hh index 416415ec52..324742ccc5 100644 --- a/pdns/sanitizer.hh +++ b/pdns/sanitizer.hh @@ -17,7 +17,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Foundation, Inc. */ #pragma once @@ -34,17 +34,17 @@ #endif #if __SANITIZE_THREAD__ -#if defined __has_include +#if defined(__has_include) #if __has_include() #include #else /* __has_include() */ extern "C" void __tsan_acquire(void* addr); extern "C" void __tsan_release(void* addr); #endif /* __has_include() */ -#else /* defined __has_include */ +#else /* defined(__has_include) */ extern "C" void __tsan_acquire(void* addr); extern "C" void __tsan_release(void* addr); -#endif /* defined __has_include */ +#endif /* defined(__has_include) */ #else #define __tsan_acquire(x) #define __tsan_release(x) -- 2.47.3