diff options
Diffstat (limited to 'gcc/gcov-io.h')
-rw-r--r-- | gcc/gcov-io.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/gcov-io.h b/gcc/gcov-io.h index 79686f5a848..6976bc3ddc8 100644 --- a/gcc/gcov-io.h +++ b/gcc/gcov-io.h @@ -250,6 +250,15 @@ extern void __gcov_init (struct gcov_info *); /* Called before fork, to avoid double counting. */ extern void __gcov_flush (void); +/* Since this file is used in both host and target files, and we don't + include ansidecl.h in target files, provide some necessary macros. */ +#ifndef PARAMS +# define PARAMS(X) X +#endif +#ifndef ATTRIBUTE_UNUSED +# define ATTRIBUTE_UNUSED __attribute__ ((__unused__)) +#endif + #endif /* IN_LIBGCC2 */ /* Functions for reading and writing gcov files. */ |