vm: fix compile error on Linux if inotify is not available (reported by Alec Barryman)

db4
Slava Pestov 2010-07-31 18:33:53 -04:00
parent 4ab1950219
commit fe116a2392
1 changed files with 3 additions and 3 deletions

View File

@ -45,19 +45,19 @@ VM_C_API int inotify_rm_watch(int fd, u32 wd)
VM_C_API int inotify_init()
{
parent->not_implemented_error();
current_vm()->not_implemented_error();
return -1;
}
VM_C_API int inotify_add_watch(int fd, const char *name, u32 mask)
{
parent->not_implemented_error();
current_vm()->not_implemented_error();
return -1;
}
VM_C_API int inotify_rm_watch(int fd, u32 wd)
{
parent->not_implemented_error();
current_vm()->not_implemented_error();
return -1;
}