diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-05-02 14:25:28 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-05-02 14:25:28 +0000 |
commit | df4d9e9f6560210a22158e320abd398e2c3bcf38 (patch) | |
tree | c496419ff2bb838a03b9ddef30d94dc6eff98aec /covoar/CoverageReaderQEMU.cc | |
parent | rtems-testing: Use eval bash instead of full path (diff) | |
download | rtems-testing-df4d9e9f6560210a22158e320abd398e2c3bcf38.tar.bz2 |
covoar: Fix issues spotted by clang on FreeBSD 10
Diffstat (limited to 'covoar/CoverageReaderQEMU.cc')
-rw-r--r-- | covoar/CoverageReaderQEMU.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/covoar/CoverageReaderQEMU.cc b/covoar/CoverageReaderQEMU.cc index d2ed80b..c8df89a 100644 --- a/covoar/CoverageReaderQEMU.cc +++ b/covoar/CoverageReaderQEMU.cc @@ -16,8 +16,8 @@ #include "qemu-traces.h" -/* hack so this can compile on the RH7 RTEMS 4.5 host */ -#if (__GNUC__ <= 2) +/* hack so this can compile on old Linux versions and FreeBSD */ +#if (__GNUC__ <= 2) || defined(__FreeBSD__) #define OPEN fopen #else #define OPEN fopen64 |