Fix MSWIN compile error (#2681).

This commit is contained in:
Unai Martinez-Corral 2021-12-06 08:15:58 -05:00 committed by Wilson Snyder
parent b7d20b102b
commit 7b119a594f
2 changed files with 3 additions and 1 deletions

View File

@ -13,6 +13,8 @@ Verilator 4.217 devel
**Minor:**
* Fix MSWIN compile error (#2681). [Unai Martinez-Corral]
Verilator 4.216 2021-12-05
==========================

View File

@ -335,7 +335,7 @@ class VInFilterImp final {
#ifdef INFILTER_PIPE
pid_t m_pid = 0; // fork() process id
#else
const int m_pid = 0; // fork() process id - always zero as disabled
int m_pid = 0; // fork() process id - always zero as disabled
#endif
bool m_pidExited = false;
int m_pidStatus = 0;