mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 10:20:02 -04:00
lib/isc/unix/socket.c: Suppress preprocessorErrorDirective error from Cppcheck
(cherry picked from commit 026cf2ff4f)
This commit is contained in:
parent
d6de4edc41
commit
be4aafeac7
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue