aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/libgcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/libgcc')
-rw-r--r--gcc-4.9/libgcc/libgcov-util.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc-4.9/libgcc/libgcov-util.c b/gcc-4.9/libgcc/libgcov-util.c
index 4435cff4f..cb07d2875 100644
--- a/gcc-4.9/libgcc/libgcov-util.c
+++ b/gcc-4.9/libgcc/libgcov-util.c
@@ -36,6 +36,10 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
/* Borrowed from basic-block.h. */
#define RDIV(X,Y) (((X) + (Y) / 2) / (Y))
+#ifdef __MINGW32__
+#define realpath(path,resolved_path) _fullpath((resolved_path),(path),_MAX_PATH)
+#endif
+
extern gcov_position_t gcov_position();
extern int gcov_is_error();
extern size_t gcov_max_filename;