diff --git a/vpi/fstapi.c b/vpi/fstapi.c index 2e96b9f22..c1353347c 100644 --- a/vpi/fstapi.c +++ b/vpi/fstapi.c @@ -955,12 +955,14 @@ fflush(xc->handle); */ static void fstWriterMmapSanity(void *pnt, const char *file, int line, const char *usage) { +#if !defined(__CYGWIN__) && !defined(__MINGW32__) if(pnt == MAP_FAILED) { fprintf(stderr, "fstMmap() assigned to %s failed: errno: %d, file %s, line %d.\n", usage, errno, file, line); perror("Why"); pnt = NULL; } +#endif }