summaryrefslogtreecommitdiff
path: root/gcc/gcov-io.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gcov-io.h')
-rw-r--r--gcc/gcov-io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gcov-io.h b/gcc/gcov-io.h
index 045f6657ace..f3607d97890 100644
--- a/gcc/gcov-io.h
+++ b/gcc/gcov-io.h
@@ -195,7 +195,7 @@ typedef signed gcov_type __attribute__ ((mode (QI)));
#endif
-#if defined (TARGET_HAS_F_SETLKW)
+#if defined (TARGET_POSIX_IO)
#define GCOV_LOCKED 1
#else
#define GCOV_LOCKED 0