Fix build issue on Win32.
Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/148
This commit is contained in:
parent
3eca37c1e5
commit
9b0c093a6a
|
@ -45,6 +45,11 @@
|
|||
# define FC_DIR_SEPARATOR_S "/"
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <direct.h>
|
||||
#define mkdir(path,mode) _mkdir(path)
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_MKDTEMP
|
||||
#define fc_mkdtemp mkdtemp
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue