Merge pull request #569 from mapbox/tile-join-vasprintf

Add #define needed for Cygwin
This commit is contained in:
Eric Fischer 2018-05-15 21:01:55 +02:00 committed by GitHub
commit 3f7ba2915a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,3 +1,8 @@
// for vasprintf() on Linux
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#define _DEFAULT_SOURCE
#include <dirent.h>
#include <sys/stat.h>