diff --git a/qse/lib/cmn/syscall.h b/qse/lib/cmn/syscall.h index 84c8e728..8ff2808e 100644 --- a/qse/lib/cmn/syscall.h +++ b/qse/lib/cmn/syscall.h @@ -165,4 +165,9 @@ # define QSE_GETEGID() getegid() #endif +#ifdef SYS_chroot +# define QSE_CHROOT(path) syscall(SYS_chroot,path) +#else +# define QSE_cHROOT(path) chroot(path) +#endif #endif