missing.h: add a cpp warning for __NR_memfd_create on MIPS

This commit is contained in:
Daniel Mack 2014-08-22 16:10:02 +02:00
parent a7d611f280
commit 2de1851fe3
1 changed files with 2 additions and 1 deletions

View File

@ -168,7 +168,8 @@ static inline int pivot_root(const char *new_root, const char *put_old) {
# endif
# endif
# ifndef __NR_memfd_create
# define __NR_memfd_create 0xffffffff /* FIXME */
# warning "__NR_memfd_create not yet defined for MIPS"
# define __NR_memfd_create 0xffffffff
# endif
#else
# ifndef __NR_fanotify_init