X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fcompat%2Fclone.h;h=6685c6f6e9ed084ac5817beb5abe4c4f635a0e9f;hp=08aa10dcd199a0431845bc0a279fc9b4b30896f8;hb=7657ae75b85d728d84c2f540df6a3739a167090c;hpb=409a0c56eb6e089c182dfa8f2a7a63dc95b04917 diff --git a/src/common/compat/clone.h b/src/common/compat/clone.h index 08aa10dcd..6685c6f6e 100644 --- a/src/common/compat/clone.h +++ b/src/common/compat/clone.h @@ -28,7 +28,7 @@ int lttng_clone_files(int (*fn)(void *), void *child_stack, void *arg) return clone(fn, child_stack, CLONE_FILES | SIGCHLD, arg); } -#elif __FreeBSD__ +#elif defined(__FreeBSD__) #include @@ -39,7 +39,7 @@ int lttng_clone_files(int (*fn)(void *), void *child_stack, void *arg) } #else -#error "Please add support for your OS into compat/clone.h." +#error "Please add support for your OS." #endif /* __linux__ , __FreeBSD__ */ #endif /* _COMPAT_CLONE_H */