re PR gcov-profile/61889 (gcov-tool.c uses nftw, ftw.h)

2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>

	PR gcov-profile/61889
	* libgcc/libgcov-driver-system.c: undefine clashing macro for mkdir.

From-SVN: r220582
This commit is contained in:
Rainer Emrich 2015-02-10 14:13:13 +00:00 committed by Kai Tietz
parent 703c9ccdc6
commit 981741888b
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
PR gcov-profile/61889
* libgcc/libgcov-driver-system.c: undefine clashing macro for mkdir.
2015-02-02 Nick Clifton <nickc@redhat.com>
* config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case

View File

@ -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. */