]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
lib/isc/unix/socket.c: Suppress preprocessorErrorDirective error from Cppcheck
authorOndřej Surý <ondrej@sury.org>
Fri, 27 Sep 2019 10:04:35 +0000 (12:04 +0200)
committerOndřej Surý <ondrej@sury.org>
Thu, 3 Oct 2019 07:04:27 +0000 (09:04 +0200)
lib/isc/unix/socket.c

index 50636198800b83fbd5b543a388f4248b6f2c1080..0aec5607604d4ce66e6d44a74b6f8946d99c50dc 100644 (file)
@@ -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 <sys/stat.h>.
 #endif