Fix MSVC compile error, bug1406.

This commit is contained in:
Wilson Snyder 2019-03-04 20:29:01 -05:00
parent f26fb51509
commit 455c552132
3 changed files with 4 additions and 2 deletions

View File

@ -12,6 +12,8 @@ The contributors that suggested a given feature are shown in []. Thanks!
**** Fix $value$plus$args missing verilated_heavy.h. [Yi-Chung Chen]
**** Fix MSVC compile error, bug1406. [Benjamin Gartner]
* Verilator 4.010 2019-01-27

View File

@ -33,7 +33,7 @@
#include <cctype>
#include <sys/stat.h> // mkdir
#if defined(WIN32) || defined(__MINGW32__)
#if defined(_WIN32) || defined(__MINGW32__)
# include <direct.h> // mkdir
#endif

View File

@ -36,7 +36,7 @@
#include <sys/time.h>
#include <sys/types.h>
#if defined(WIN32) || defined(__MINGW32__)
#if defined(_WIN32) || defined(__MINGW32__)
# include <direct.h> // mkdir
#endif