Commit e4c2ac36 by Rainer Emrich Committed by Kai Tietz

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
	* gcov-tool.c: Remove wrong #if !defined(_WIN32)

From-SVN: r220584
parent 471274de
2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
PR gcov-profile/61889
* gcov-tool.c: Remove wrong #if !defined(_WIN32)
2015-02-10 Richard Biener <rguenther@suse.de>
PR tree-optimization/64995
......
......@@ -99,11 +99,7 @@ gcov_output_files (const char *out, struct gcov_info *profile)
/* Try to make directory if it doesn't already exist. */
if (access (out, F_OK) == -1)
{
#if !defined(_WIN32)
if (mkdir (out, S_IRWXU | S_IRWXG | S_IRWXO) == -1 && errno != EEXIST)
#else
if (mkdir (out) == -1 && errno != EEXIST)
#endif
fatal_error (input_location, "Cannot make directory %s", out);
} else
unlink_profile_dir (out);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment