diff --git a/Changes b/Changes index ad96861a0..756dd7f90 100644 --- a/Changes +++ b/Changes @@ -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 diff --git a/include/verilated.cpp b/include/verilated.cpp index ab406b9fb..4277a555a 100644 --- a/include/verilated.cpp +++ b/include/verilated.cpp @@ -33,7 +33,7 @@ #include #include // mkdir -#if defined(WIN32) || defined(__MINGW32__) +#if defined(_WIN32) || defined(__MINGW32__) # include // mkdir #endif diff --git a/src/V3Os.cpp b/src/V3Os.cpp index 9ad11e905..511ace89c 100644 --- a/src/V3Os.cpp +++ b/src/V3Os.cpp @@ -36,7 +36,7 @@ #include #include -#if defined(WIN32) || defined(__MINGW32__) +#if defined(_WIN32) || defined(__MINGW32__) # include // mkdir #endif