uatomic/x86: Remove redundant memory barriers
[urcu.git] / include / urcu / syscall-compat.h
CommitLineData
d3d3857f
MJ
1// SPDX-FileCopyrightText: 2013 Pierre-Luc St-Charles <pierre-luc.st-charles@polymtl.ca>
2//
3// SPDX-License-Identifier: LGPL-2.1-or-later
4
9ba261bd
PLSC
5#ifndef _URCU_SYSCALL_COMPAT_H
6#define _URCU_SYSCALL_COMPAT_H
7
8/*
9ba261bd 9 * Userspace RCU library - Syscall Compatibility Header
9ba261bd
PLSC
10 */
11
613086f6 12#if defined(__ANDROID__) || defined(__sun__) || defined(__GNU__)
9ba261bd 13#include <sys/syscall.h>
81593390 14#elif defined(__linux__) || defined(__GLIBC__)
9ba261bd 15#include <syscall.h>
5e4d8998 16
80a92637 17#elif defined(__CYGWIN__) || defined(__APPLE__) || \
11f3d1c2
BS
18 defined(__FreeBSD__) || defined(__DragonFly__) || \
19 defined(__OpenBSD__)
80a92637 20/* Don't include anything on these platforms. */
5e4d8998 21
b10602e3
MJ
22#else
23#error "Add platform support to urcu/syscall-compat.h"
9ba261bd
PLSC
24#endif
25
26#endif /* _URCU_SYSCALL_COMPAT_H */
This page took 0.042237 seconds and 4 git commands to generate.