diff --git a/Changes b/Changes index 3700be2b3..6240d3fd2 100644 --- a/Changes +++ b/Changes @@ -7,8 +7,7 @@ indicates the contributor was also the author of the fix; Thanks! *** Add +1364-1995ext and similar language options, bug532. [Jeremy Bennett] -**** Fix svdpi compile issue on MSVCC, bug571. [Amir Gonnen] - +**** Fix compile issues on MSVCC, bug571, bug577. [Amir Gonnen] * Verilator 3.842 2012/11/03 diff --git a/include/verilated_save.cpp b/include/verilated_save.cpp index e01b0d9fe..df12516a6 100644 --- a/include/verilated_save.cpp +++ b/include/verilated_save.cpp @@ -34,6 +34,13 @@ # include #endif +#ifndef O_LARGEFILE // For example on WIN32 +# define O_LARGEFILE 0 +#endif +#ifndef O_NONBLOCK +# define O_NONBLOCK 0 +#endif + // CONSTANTS static const char* VLTSAVE_HEADER_STR = "verilatorsave01\n"; ///< Value of first bytes of each file static const char* VLTSAVE_TRAILER_STR = "vltsaved"; ///< Value of last bytes of each file