diff --git a/test/cfg/gnu.c b/test/cfg/gnu.c index b97f181dd..33b4351d7 100644 --- a/test/cfg/gnu.c +++ b/test/cfg/gnu.c @@ -8,7 +8,9 @@ // #include +#ifndef __CYGWIN__ #include +#endif void bufferAccessOutOfBounds() { @@ -39,6 +41,7 @@ void leakReturnValNotUsed() return; } +#ifndef __CYGWIN__ int nullPointer_epoll_ctl(int epfd, int op, int fd, struct epoll_event *event) { // no warning is expected @@ -51,3 +54,4 @@ int nullPointer_epoll_ctl(int epfd, int op, int fd, struct epoll_event *event) // can be NULL. return epoll_ctl(epfd, EPOLL_CTL_DEL, fd, NULL); } +#endif