Better fix for strcasecmp on Darwin

This commit is contained in:
Eelco Dolstra 2014-07-18 12:54:30 +02:00
parent f609eec71a
commit 2e77bd70fa

View file

@ -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>