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

(cherry picked from commit 026cf2ff4f)
This commit is contained in:
Ondřej Surý 2019-09-27 12:04:35 +02:00
parent d6de4edc41
commit be4aafeac7

View 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