mirror of https://github.com/KLayout/klayout.git
Fixed a build issue on Windows.
This commit is contained in:
parent
5f27341995
commit
4172b60d60
|
|
@ -52,7 +52,11 @@ static int name_compare (const std::string &n1, const std::string &n2)
|
|||
{
|
||||
// TODO: unicode support?
|
||||
#if defined(COMPARE_CASE_INSENSITIVE)
|
||||
#if defined(_WIN32)
|
||||
return _stricmp (n1.c_str (), n2.c_str ());
|
||||
#else
|
||||
return strcasecmp (n1.c_str (), n2.c_str ());
|
||||
#endif
|
||||
#else
|
||||
return strcmp (n1.c_str (), n2.c_str ());
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue