2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

lib/isc/unix/socket.c: Suppress preprocessorErrorDirective error from Cppcheck

This commit is contained in:
Ondřej Surý 2019-09-27 12:04:35 +02:00
parent c662969da1
commit 026cf2ff4f

View 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