bsd compat headers: #elif -> #elif defined
[lttng-tools.git] / src / common / compat / clone.h
index 08aa10dcd199a0431845bc0a279fc9b4b30896f8..6685c6f6e9ed084ac5817beb5abe4c4f635a0e9f 100644 (file)
@@ -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 <unistd.h>
 
@@ -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 */
This page took 0.023712 seconds and 4 git commands to generate.