From: Ondřej Surý Date: Fri, 27 Sep 2019 10:04:35 +0000 (+0200) Subject: lib/isc/unix/socket.c: Suppress preprocessorErrorDirective error from Cppcheck X-Git-Tag: v9.15.6~72^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=026cf2ff4f72adfdf17d4b45496a1d3866c068ab;p=thirdparty%2Fbind9.git lib/isc/unix/socket.c: Suppress preprocessorErrorDirective error from Cppcheck --- diff --git a/lib/isc/unix/socket.c b/lib/isc/unix/socket.c index 50636198800..0aec5607604 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