mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Fix strcasecmp for windows, bug1651.
Signed-off-by: Wilson Snyder <[email protected]>
This commit is contained in:
+1
-1
@@ -58,7 +58,7 @@ V3ErrorCode::V3ErrorCode(const char* msgp) {
|
||||
// Return error encoding for given string, or ERROR, which is a bad code
|
||||
for (int codei=V3ErrorCode::EC_MIN; codei<V3ErrorCode::_ENUM_MAX; codei++) {
|
||||
V3ErrorCode code = V3ErrorCode(codei);
|
||||
if (0==strcasecmp(msgp, code.ascii())) {
|
||||
if (0 == VL_STRCASECMP(msgp, code.ascii())) {
|
||||
m_e = code; return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user