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

(cherry picked from commit 026cf2ff4f)
This commit is contained in:
Ondřej Surý
2019-10-03 14:21:46 +02:00
parent 0e8e4c9174
commit 8f23f39fee
+1
View File
@@ -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