From 8f23f39feedaffe48c541824421275dad7601341 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= Date: Fri, 27 Sep 2019 12:04:35 +0200 Subject: [PATCH] lib/isc/unix/socket.c: Suppress preprocessorErrorDirective error from Cppcheck (cherry picked from commit 026cf2ff4f72adfdf17d4b45496a1d3866c068ab) --- lib/isc/unix/socket.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/isc/unix/socket.c b/lib/isc/unix/socket.c index 628b6b240a..f2eef845dc 100644 --- a/lib/isc/unix/socket.c +++ b/lib/isc/unix/socket.c @@ -5406,6 +5406,7 @@ isc__socket_cleanunix(isc_sockaddr_t *sockaddr, bool active) { #endif #if !defined(S_ISFIFO) && !defined(S_ISSOCK) +/* cppcheck-suppress preprocessorErrorDirective */ #error You need to define S_ISFIFO and S_ISSOCK as appropriate for your platform. See . #endif