lib/isc/unix/socket.c: Suppress preprocessorErrorDirective error from Cppcheck
(cherry picked from commit 026cf2ff4f)
This commit is contained in:
@@ -5406,6 +5406,7 @@ isc__socket_cleanunix(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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user