diff options
Diffstat (limited to 'covoar/TraceReaderLogQEMU.cc')
-rw-r--r-- | covoar/TraceReaderLogQEMU.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/covoar/TraceReaderLogQEMU.cc b/covoar/TraceReaderLogQEMU.cc index 4783668..d92614a 100644 --- a/covoar/TraceReaderLogQEMU.cc +++ b/covoar/TraceReaderLogQEMU.cc @@ -22,8 +22,8 @@ typedef uint32_t target_ulong; #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 STAT stat #define OPEN fopen #else |