aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcov-io.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gcov-io.c')
-rw-r--r--gcc/gcov-io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gcov-io.c b/gcc/gcov-io.c
index ac60f9b..4db56f8 100644
--- a/gcc/gcov-io.c
+++ b/gcc/gcov-io.c
@@ -144,7 +144,7 @@ gcov_open (const char *name, int mode)
gcov_var.offset = gcov_var.length = 0;
gcov_var.overread = -1u;
gcov_var.error = 0;
-#if !IN_LIBGCOV
+#if !IN_LIBGCOV || defined (IN_GCOV_TOOL)
gcov_var.endian = 0;
#endif
#if GCOV_LOCKED