diff options
author | Adam Jackson <ajax@nwnk.net> | 2006-06-22 21:16:44 +0000 |
---|---|---|
committer | Adam Jackson <ajax@nwnk.net> | 2006-06-22 21:16:44 +0000 |
commit | 4645247d45b1653c56d8c99d5685960159e464be (patch) | |
tree | ba6e8c1841fd1cb0ad15e303c5f427443a7d5cf8 /src/inotify-syscalls.h | |
parent | Fix an obvious bogon to avoid crashing on absolute axis setup. (diff) | |
download | xf86-input-evdev-4645247d45b1653c56d8c99d5685960159e464be.tar.gz xf86-input-evdev-4645247d45b1653c56d8c99d5685960159e464be.tar.bz2 xf86-input-evdev-4645247d45b1653c56d8c99d5685960159e464be.zip |
MIPS support. (Joshua Kinard)xf86-video-impact-0_2_0
Diffstat (limited to 'src/inotify-syscalls.h')
-rw-r--r-- | src/inotify-syscalls.h | 14 |
1 files changed, 14 insertions, 0 deletions
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 |