forked from github/verilator
Fix MSVC localtime_s (#3124).
This commit is contained in:
parent
f9e69984ff
commit
3f7bf3d2dc
1
Changes
1
Changes
@ -14,6 +14,7 @@ Verilator 4.221 devel
|
||||
**Minor:**
|
||||
|
||||
* Split --prof-threads into --prof-exec and --prof-pgo (#3365). [Geza Lore, Shunyao CAD]
|
||||
* Fix MSVC localtime_s (#3124).
|
||||
|
||||
|
||||
Verilator 4.220 2022-03-12
|
||||
|
@ -492,10 +492,8 @@ using ssize_t = uint32_t; ///< signed size_t; returned from read()
|
||||
# define VL_STRCASECMP strcasecmp
|
||||
#endif
|
||||
|
||||
#ifdef __MINGW32__
|
||||
#if defined(__MINGW32__) || defined(_MSC_VER)
|
||||
# define VL_LOCALTIME_R(timep, tmp) localtime_s((tmp), (timep))
|
||||
#elif defined(_MSC_VER)
|
||||
# define VL_LOCALTIME_R(timep, tmp) localtime_c((tmp), (timep))
|
||||
#else
|
||||
# define VL_LOCALTIME_R(timep, tmp) localtime_r((timep), (tmp))
|
||||
#endif
|
||||
|
@ -58,6 +58,7 @@
|
||||
#include "V3Unroll.h"
|
||||
#include "V3Hasher.h"
|
||||
|
||||
#include <cctype>
|
||||
#include <deque>
|
||||
#include <map>
|
||||
#include <memory>
|
||||
|
Loading…
Reference in New Issue
Block a user