summaryrefslogtreecommitdiff
path: root/test/cairo-test.c
diff options
context:
space:
mode:
authorAndrea Canciani <ranma42@gmail.com>2012-02-16 19:53:56 +0100
committerAndrea Canciani <ranma42@gmail.com>2012-02-16 23:00:59 +0100
commit93b0fcffc7a098333aa219ce0d59b7f9d1ac35e6 (patch)
tree44691a109648ba678705c0d0b4e82b6da3be3cc5 /test/cairo-test.c
parent80c46d400b0bc329ca3b09eb87684920ec1045ef (diff)
test: Create output directory even on Win32
This avoids cluttering the test directory with thousands of PNG files and makes the behavior more consistent with other OSes.
Diffstat (limited to 'test/cairo-test.c')
-rw-r--r--test/cairo-test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/cairo-test.c b/test/cairo-test.c
index 9e0341b3..c5ef8439 100644
--- a/test/cairo-test.c
+++ b/test/cairo-test.c
@@ -73,7 +73,10 @@
#ifdef _MSC_VER
#include <crtdbg.h>
+#include <direct.h>
#define F_OK 0
+#define HAVE_MKDIR 1
+#define mkdir _mkdir
#endif
#ifndef FALSE