#define lttng_sync_file_range(fd, offset, nbytes, flags) \
compat_sync_file_range(fd, offset, nbytes, flags)
-#elif __FreeBSD__
+#elif defined(__FreeBSD__)
typedef long int off64_t;
typedef off64_t loff_t;
}
#else
-#error "Please add support for your OS into compat/fcntl.h."
+#error "Please add support for your OS."
#endif /* __linux__ , __FreeBSD__ */
#endif /* _COMPAT_FCNTL_H */