projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add GNU Hurd support to syscall-compat.h
[userspace-rcu.git]
/
urcu
/
syscall-compat.h
diff --git
a/urcu/syscall-compat.h
b/urcu/syscall-compat.h
index 55576f0f165282623722dc1363bc7bdbc87f1512..9b9afec2abd385db214aedda2689a65b17ce2286 100644
(file)
--- 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
*/
* 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>
#include <sys/syscall.h>
-#elif defined(__linux__)
+#elif defined(__linux__)
|| defined(__GLIBC__)
#include <syscall.h>
#include <syscall.h>
+#else
+#error "Add platform support to urcu/syscall-compat.h"
#endif
#endif /* _URCU_SYSCALL_COMPAT_H */
#endif
#endif /* _URCU_SYSCALL_COMPAT_H */
This page took
0.030626 seconds
and
4
git commands to generate.