aboutsummaryrefslogtreecommitdiff
path: root/gdb/ctf.c
diff options
context:
space:
mode:
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