test/test-bz106632.c | 5 +++++ 1 file changed, 5 insertions(+) New commits: commit 9b0c093a6a925b71a099f8f4b489d83572c77afe Author: Akira TAGOH <akira@xxxxxxxxx> Date: Tue Mar 19 17:57:09 2019 +0900 Fix build issue on Win32. Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/148 diff --git a/test/test-bz106632.c b/test/test-bz106632.c index 15ec376..cf3bbcf 100644 --- a/test/test-bz106632.c +++ b/test/test-bz106632.c @@ -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 _______________________________________________ Fontconfig mailing list Fontconfig@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/fontconfig