Better fix for strcasecmp on Darwin
This commit is contained in:
parent
f609eec71a
commit
2e77bd70fa
|
@ -7,9 +7,7 @@
|
|||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
#define _DARWIN_C_SOURCE // hack to get strcasecmp on old Darwin versions
|
||||
#include <cstring>
|
||||
#undef _DARWIN_C_SOURCE
|
||||
#include <strings.h> // for strcasecmp
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
|
Loading…
Reference in a new issue