projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: syscall-compat.h MacOSX support
[userspace-rcu.git]
/
urcu
/
syscall-compat.h
diff --git
a/urcu/syscall-compat.h
b/urcu/syscall-compat.h
index 0e9f26c2e723e8006aa7f59159fd3bbd2f572b5b..fa63a7bbee8eda960dfaf4d1709ca0595189ccc2 100644
(file)
--- 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
*/
* 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 <sys/syscall.h>
#elif defined(__linux__) || defined(__GLIBC__)
#include <syscall.h>
#include <sys/syscall.h>
#elif defined(__linux__) || defined(__GLIBC__)
#include <syscall.h>
+
+#elif defined(__CYGWIN__) || defined(__APPLE__)
+/* Don't include anything on Cygwin or MacOSX. */
+
#else
#error "Add platform support to urcu/syscall-compat.h"
#endif
#else
#error "Add platform support to urcu/syscall-compat.h"
#endif
This page took
0.024265 seconds
and
4
git commands to generate.