X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fcompat%2Fendian.h;h=b4426eb8405ce53d38fdb7afc35943379ae28dd9;hp=b9382baaa560984ad18bce3f84ea0f765e418cda;hb=b2c3836f9872dfe8c0328c03fa5a01efe0ed6017;hpb=7657ae75b85d728d84c2f540df6a3739a167090c diff --git a/src/common/compat/endian.h b/src/common/compat/endian.h index b9382baaa..b4426eb84 100644 --- a/src/common/compat/endian.h +++ b/src/common/compat/endian.h @@ -20,10 +20,10 @@ #ifdef __linux__ #include -#elif __FreeBSD__ +#elif defined(__FreeBSD__) #include #else -#error "Please add support for your OS into lttng/ust-endian.h." +#error "Please add support for your OS." #endif #endif /* _COMPAT_ENDIAN_H */