diff options
author | qiyao <qiyao> | 2013-03-25 10:55:28 +0000 |
---|---|---|
committer | qiyao <qiyao> | 2013-03-25 10:55:28 +0000 |
commit | 39b93559981072aa31534d1a5496fa920e8fa694 (patch) | |
tree | bf9641985eb8381df42565e58518014339e64b49 /gdb/ctf.c | |
parent | 97fbce91e3152a8ba19a3fbb1b15611a32c7c113 (diff) | |
download | gdb-39b93559981072aa31534d1a5496fa920e8fa694.tar.gz |
gdb/
* ctf.c [USE_WIN32API]: Undef 'mkdir' and use 'mkdir'
instead of '_mkdir'.
Diffstat (limited to 'gdb/ctf.c')
-rw-r--r-- | gdb/ctf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/ctf.c b/gdb/ctf.c index 6b55986f6b6..de54051e90d 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 |