soc/intel/xeon_sp: Align resources to 4K
[coreboot2.git] / util / kconfig / patches / 0006-util-kconfig-Set-parameter-of-mkdir-to-only-one-for-.patch
blobcd61f446a93a9d0371fc195b4ea614497d0fe63c
1 From d470f1069744c3e6ef2e928217c1a4a23a87efa2 Mon Sep 17 00:00:00 2001
2 From: zbao <fishbaozi@gmail.com>
3 Date: Sat, 26 Sep 2015 06:20:53 -0400
4 Subject: [PATCH] util/kconfig: Set parameter of mkdir to only one for mingw.
6 The second parameter is to set file permissions for the directory, which
7 is not needed in mingw.
9 Signed-off-by: Zheng Bao <fishbaozi@gmail.com>
10 ---
11 util/kconfig/confdata.c | 4 ++++
12 1 file changed, 4 insertions(+)
14 Index: kconfig/confdata.c
15 ===================================================================
16 --- kconfig.orig/confdata.c
17 +++ kconfig/confdata.c
18 @@ -155,6 +155,10 @@ static void conf_message(const char *fmt
19 static const char *conf_filename;
20 static int conf_lineno, conf_warnings;
22 +#ifdef __MINGW32__
23 +#define mkdir(_n,_p) mkdir((_n))
24 +#endif
26 static void conf_warning(const char *fmt, ...)
28 va_list ap;