[Fontconfig] fontconfig: Branch 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Mar 19 10:02:00 UTC 2019


 test/test-bz106632.c |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 9b0c093a6a925b71a099f8f4b489d83572c77afe
Author: Akira TAGOH <akira at tagoh.org>
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


More information about the Fontconfig mailing list