[msitools] testdatabase: Fix implicit declaration of mkdir
- From: Christophe Fergeau <teuf src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [msitools] testdatabase: Fix implicit declaration of mkdir
- Date: Wed, 30 Mar 2016 09:15:31 +0000 (UTC)
commit f32b59a2ff6173e1d84a4d7887024aec51189a24
Author: Christophe Fergeau <cfergeau redhat com>
Date: Tue Dec 1 10:54:24 2015 +0100
testdatabase: Fix implicit declaration of mkdir
glib provides g_mkdir, which allows us to remove the compat win32
wrapper as well.
tests/testdatabase.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/tests/testdatabase.c b/tests/testdatabase.c
index a9baf44..01159cd 100644
--- a/tests/testdatabase.c
+++ b/tests/testdatabase.c
@@ -34,12 +34,11 @@
#endif
#include <libmsi.h>
+#include <glib/gstdio.h>
#include "test.h"
-#ifdef _WIN32
-#define mkdir(dir, mode) mkdir(dir)
-#else
+#ifndef _WIN32
typedef uint16_t WCHAR;
#define O_BINARY 0
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]