aboutsummaryrefslogtreecommitdiff
path: root/gdb/ctf.c
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2013-03-25 10:55:28 +0000
committerYao Qi <yao@codesourcery.com>2013-03-25 10:55:28 +0000
commita4341769f7100d0174cf1f725d5316b27da0e54b (patch)
tree3b5403925f0247cb873af99f3b2adea5db379bc2 /gdb/ctf.c
parent4f3fedcf687ca7d5fc170669fe6928934070f9ec (diff)
downloadgdb-a4341769f7100d0174cf1f725d5316b27da0e54b.zip
gdb-a4341769f7100d0174cf1f725d5316b27da0e54b.tar.gz
gdb-a4341769f7100d0174cf1f725d5316b27da0e54b.tar.bz2
gdb/
* ctf.c [USE_WIN32API]: Undef 'mkdir' and use 'mkdir' instead of '_mkdir'.
Diffstat (limited to 'gdb/ctf.c')
-rw-r--r--gdb/ctf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/ctf.c b/gdb/ctf.c
index 6b55986f..de54051 100644
--- a/gdb/ctf.c
+++ b/gdb/ctf.c
@@ -272,7 +272,8 @@ ctf_target_save (struct trace_file_writer *self,
}
#ifdef USE_WIN32API
-#define mkdir(pathname, mode) _mkdir (pathname)
+#undef mkdir
+#define mkdir(pathname, mode) mkdir (pathname)
#endif
/* This is the implementation of trace_file_write_ops method