X-Git-Url: https://git.lttng.org/?p=urcu.git;a=blobdiff_plain;f=urcu%2Fsyscall-compat.h;h=0e9f26c2e723e8006aa7f59159fd3bbd2f572b5b;hp=55576f0f165282623722dc1363bc7bdbc87f1512;hb=d1c678425415ed986d0101d5d9ab228b160b2fc3;hpb=9ba261bd496f2dfac38a16e341259553335dd165 diff --git a/urcu/syscall-compat.h b/urcu/syscall-compat.h index 55576f0..0e9f26c 100644 --- a/urcu/syscall-compat.h +++ b/urcu/syscall-compat.h @@ -27,10 +27,12 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#if defined(__ANDROID__) +#if defined(__ANDROID__) || defined(__sun__) #include -#elif defined(__linux__) +#elif defined(__linux__) || defined(__GLIBC__) #include +#else +#error "Add platform support to urcu/syscall-compat.h" #endif #endif /* _URCU_SYSCALL_COMPAT_H */