diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index d5540b0ab38..651b30307c4 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,8 @@ +2015-02-10 Rainer Emrich + + PR gcov-profile/61889 + * libgcc/libgcov-driver-system.c: undefine clashing macro for mkdir. + 2015-02-02 Nick Clifton * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case diff --git a/libgcc/libgcov-driver-system.c b/libgcc/libgcov-driver-system.c index 56d08002173..94f198dcefb 100644 --- a/libgcc/libgcov-driver-system.c +++ b/libgcc/libgcov-driver-system.c @@ -66,6 +66,9 @@ create_file_directory (char *filename) #ifdef TARGET_POSIX_IO && mkdir (filename, 0755) == -1 #else +#ifdef mkdir +#undef mkdir +#endif && mkdir (filename) == -1 #endif /* The directory might have been made by another process. */