mirror of https://github.com/YosysHQ/abc.git
Warning regarding PathMatchSpec() on Windows.
This commit is contained in:
parent
7fd4b01fb3
commit
73dac01c15
|
|
@ -83,7 +83,7 @@ struct Scl_Tree_t_
|
|||
|
||||
static inline int Scl_LibertyGlobMatch(const char * pattern, const char * string) {
|
||||
#ifdef _WIN32
|
||||
return PathMatchSpec(string, pattern);
|
||||
return PathMatchSpec(string, pattern); // if the compiler complains, add "-lshlwapi"
|
||||
#else
|
||||
return fnmatch(pattern, string, 0) == 0;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue