From 026cf2ff4f72adfdf17d4b45496a1d3866c068ab 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 --- 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 5063619880..0aec560760 100644 --- a/lib/isc/unix/socket.c +++ b/lib/isc/unix/socket.c @@ -4234,6 +4234,7 @@ isc_socket_cleanunix(const 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