this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix macro typos

Thomas A e713ce8b 67286d8b

+3 -3
+2 -2
src/kernel/emulation/linux/stat/lstat.c
··· 27 27 if (ret < 0) 28 28 return errno_linux_to_bsd(ret); 29 29 30 - #ifdef defined(__NR_lstat64) 30 + #if defined(__NR_lstat64) 31 31 ret = LINUX_SYSCALL(__NR_lstat64, vc.path, &lstat); 32 32 #elif defined(__NR_lstat) 33 33 ret = LINUX_SYSCALL(__NR_lstat, vc.path, &lstat); ··· 62 62 if (ret < 0) 63 63 return errno_linux_to_bsd(ret); 64 64 65 - #ifdef defined(__NR_lstat64) 65 + #if defined(__NR_lstat64) 66 66 ret = LINUX_SYSCALL(__NR_lstat64, vc.path, &lstat); 67 67 #elif defined(__NR_lstat) 68 68 ret = LINUX_SYSCALL(__NR_lstat, vc.path, &lstat);
+1 -1
src/kernel/emulation/linux/xattr/flistxattr.c
··· 32 32 char buf[64] = {0}; 33 33 char path[4096] = {0}; 34 34 __simple_sprintf(buf, "/proc/self/fd/%d", fd); 35 - #if __NR_readlink 35 + #if defined(__NR_readlink) 36 36 ret = LINUX_SYSCALL(__NR_readlink, buf, path, sizeof(path) - 1); 37 37 #else 38 38 ret = LINUX_SYSCALL(__NR_readlinkat, LINUX_AT_FDCWD, buf, path, sizeof(path) - 1);