diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-10-06 17:17:20 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-10-06 17:17:20 -0700 |
commit | 8511f89492a089bc3297979d1d17dacb80c28362 (patch) | |
tree | 4f254fc4b10d4d52387dd2a41ac6395462171a62 | |
parent | 8d2d5300e7a67326ae2ae49162a597bd0d4f7694 (diff) |
fix unistd_curdir
-rw-r--r-- | system/include/libc/sys/unistd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/include/libc/sys/unistd.h b/system/include/libc/sys/unistd.h index 80db5218..45887d11 100644 --- a/system/include/libc/sys/unistd.h +++ b/system/include/libc/sys/unistd.h @@ -53,7 +53,7 @@ int _EXFUN(execvp, (const char *__file, char * const __argv[] )); int _EXFUN(execvpe, (const char *__file, char * const __argv[], char * const __envp[] )); int _EXFUN(faccessat, (int __dirfd, const char *__path, int __mode, int __flags)); #endif -#if defined(__CYGWIN__) || defined(__rtems__) || defined(__SPU__) +#if defined(EMSCRIPTEN) || defined(__CYGWIN__) || defined(__rtems__) || defined(__SPU__) int _EXFUN(fchdir, (int __fildes)); #endif int _EXFUN(fchmod, (int __fildes, mode_t __mode )); @@ -100,7 +100,7 @@ pid_t _EXFUN(getsid, (pid_t)); #if defined(EMSCRIPTEN) || !defined(__INSIDE_CYGWIN__) uid_t _EXFUN(getuid, (void )); #endif -#ifdef __CYGWIN__ +#if defined(EMSCRIPTEN) || defined(__CYGWIN__) char * _EXFUN(getusershell, (void)); char * _EXFUN(getwd, (char *__buf )); int _EXFUN(iruserok, (unsigned long raddr, int superuser, const char *ruser, const char *luser)); |