]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Process miod's review comments 16662/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 5 Jan 2026 15:26:23 +0000 (16:26 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 5 Jan 2026 15:40:52 +0000 (16:40 +0100)
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
pdns/Makefile.am
pdns/sanitizer.hh

index d429e782b56b25d97e86d55be84a69848801a9aa..891819a5caca7b1434269848d0f469f279ab1fa0 100644 (file)
@@ -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 \
index 416415ec52a15564b7b7e53061487ae6babc3a1c..324742ccc5d397437288bf0336ff5a763abc95f9 100644 (file)
@@ -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
 
 #endif
 
 #if __SANITIZE_THREAD__
-#if defined __has_include
+#if defined(__has_include)
 #if __has_include(<sanitizer/tsan_interface.h>)
 #include <sanitizer/tsan_interface.h>
 #else /* __has_include(<sanitizer/tsan_interface.h>) */
 extern "C" void __tsan_acquire(void* addr);
 extern "C" void __tsan_release(void* addr);
 #endif /* __has_include(<sanitizer/tsan_interface.h>) */
-#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)