mirror of
https://github.com/verilator/verilator.git
synced 2026-10-05 17:43:31 +02:00
Fix strcasecmp for windows, bug1651.
Signed-off-by: Wilson Snyder <[email protected]>
This commit is contained in:
+1
-1
@@ -250,7 +250,7 @@ V3LangCode::V3LangCode(const char* textp) {
|
||||
// Return code for given string, or ERROR, which is a bad code
|
||||
for (int codei=V3LangCode::L_ERROR; codei<V3LangCode::_ENUM_END; ++codei) {
|
||||
V3LangCode code = V3LangCode(codei);
|
||||
if (0==strcasecmp(textp, code.ascii())) {
|
||||
if (0 == VL_STRCASECMP(textp, code.ascii())) {
|
||||
m_e = code; return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user