Debian Codegraph @

util/kconfig/patches/0006-util-kconfig-Set-parameter-of-mkdir-to-only-one-for-.patch

raw
1 From d470f1069744c3e6ef2e928217c1a4a23a87efa2 Mon Sep 17 00:00:00 2001
2 From: zbao <[email protected]>
3 Date: Sat, 26 Sep 2015 06:20:53 -0400
4 Subject: [PATCH] util/kconfig: Set parameter of mkdir to only one for mingw.
5
6 The second parameter is to set file permissions for the directory, which
7 is not needed in mingw.
8
9 Signed-off-by: Zheng Bao <[email protected]>
10 ---
11 util/kconfig/confdata.c | 4 ++++
12 1 file changed, 4 insertions(+)
13
14 Index: kconfig/confdata.c
15 ===================================================================
16 --- kconfig.orig/confdata.c
17 +++ kconfig/confdata.c
18 @@ -162,6 +162,10 @@ bool conf_errors(void)
19 return false;
20 }
21
22 +#ifdef __MINGW32__
23 +#define mkdir(_n,_p) mkdir((_n))
24 +#endif
25 +
26 static void conf_warning(const char *fmt, ...)
27 {
28 va_list ap;