Better fix for strcasecmp on Darwin
This commit is contained in:
parent
f609eec71a
commit
2e77bd70fa
1 changed files with 1 additions and 3 deletions
|
@ -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