Add GNU Hurd support to syscall-compat.h
[urcu.git] / urcu / syscall-compat.h
index 55576f0f165282623722dc1363bc7bdbc87f1512..9b9afec2abd385db214aedda2689a65b17ce2286 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#if defined(__ANDROID__)
+#if defined(__ANDROID__) || defined(__sun__) || defined(__GNU__)
 #include <sys/syscall.h>
-#elif defined(__linux__)
+#elif defined(__linux__) || defined(__GLIBC__)
 #include <syscall.h>
+#else
+#error "Add platform support to urcu/syscall-compat.h"
 #endif
 
 #endif /* _URCU_SYSCALL_COMPAT_H */
This page took 0.02309 seconds and 4 git commands to generate.