]> 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:50:27 +0000 (09:50 +0200)
(cherry picked from commit 026cf2ff4f72adfdf17d4b45496a1d3866c068ab)

lib/isc/unix/socket.c

index 35b4206f447eb4d971aa20a56f04bcdcf0188177..dd79524df1502803e9a08d249cd58641d00211d8 100644 (file)
@@ -4296,6 +4296,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