From 4645247d45b1653c56d8c99d5685960159e464be Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Thu, 22 Jun 2006 21:16:44 +0000 Subject: MIPS support. (Joshua Kinard) --- ChangeLog | 5 +++++ src/inotify-syscalls.h | 14 ++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/ChangeLog b/ChangeLog index 4a6af91..6a63a2d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-06-22 Adam Jackson + + * src/inotify-syscalls.h: + MIPS support. (Joshua Kinard) + 2006-06-02 Adam Jackson * src/evdev_axes.c: diff --git a/src/inotify-syscalls.h b/src/inotify-syscalls.h index c3a5051..7c68bc6 100644 --- a/src/inotify-syscalls.h +++ b/src/inotify-syscalls.h @@ -43,6 +43,20 @@ # define __NR_inotify_init 269 # define __NR_inotify_add_watch 270 # define __NR_inotify_rm_watch 271 +#elif defined (__mips__) +# if _MIPS_SIM == _MIPS_SIM_ABI32 +# define __NR_inotify_init 4284 +# define __NR_inotify_add_watch 4285 +# define __NR_inotify_rm_watch 4286 +# elif _MIPS_SIM == _MIPS_SIM_NABI32 +# define __NR_inotify_init 6247 +# define __NR_inotify_add_watch 6248 +# define __NR_inotify_rm_watch 6249 +# elif _MIPS_SIM == _MIPS_SIM_ABI64 +# define __NR_inotify_init 5243 +# define __NR_inotify_add_watch 5244 +# define __NR_inotify_rm_watch 5245 +# endif #else # error "Unsupported architecture!" #endif -- cgit v1.2.3