diff options
author | Yao Qi <yao@codesourcery.com> | 2013-03-25 10:55:28 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2013-03-25 10:55:28 +0000 |
commit | a4341769f7100d0174cf1f725d5316b27da0e54b (patch) | |
tree | 3b5403925f0247cb873af99f3b2adea5db379bc2 /gdb | |
parent | 4f3fedcf687ca7d5fc170669fe6928934070f9ec (diff) | |
download | fsf-binutils-gdb-a4341769f7100d0174cf1f725d5316b27da0e54b.zip fsf-binutils-gdb-a4341769f7100d0174cf1f725d5316b27da0e54b.tar.gz fsf-binutils-gdb-a4341769f7100d0174cf1f725d5316b27da0e54b.tar.bz2 |
gdb/
* ctf.c [USE_WIN32API]: Undef 'mkdir' and use 'mkdir'
instead of '_mkdir'.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/ctf.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 15e169c..e065e94 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2013-03-25 Yao Qi <yao@codesourcery.com> + + * ctf.c [USE_WIN32API]: Undef 'mkdir' and use 'mkdir' + instead of '_mkdir'. + 2013-03-23 Eli Zaretskii <eliz@gnu.org> * windows-nat.c (windows_get_absolute_argv0): New function. @@ -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 |