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