X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu%2Fsyscall-compat.h;h=d603db21d146bb01254efb83848381c9e6e4f1ff;hp=288cfaf4c7fee4fa623717bd536cf41fa31654ad;hb=5e4d8998d80239836d4fbceb21d1bc52979e8dad;hpb=b10602e3b14361be848e44953b97c21dff1dc5ae diff --git a/urcu/syscall-compat.h b/urcu/syscall-compat.h index 288cfaf..d603db2 100644 --- a/urcu/syscall-compat.h +++ b/urcu/syscall-compat.h @@ -27,10 +27,14 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#if defined(__ANDROID__) || defined(__sun__) +#if defined(__ANDROID__) || defined(__sun__) || defined(__GNU__) #include -#elif defined(__linux__) +#elif defined(__linux__) || defined(__GLIBC__) #include + +#elif defined(__CYGWIN__) +/* Don't include anything on Cygwin. */ + #else #error "Add platform support to urcu/syscall-compat.h" #endif