Skip to content

Commit

Permalink
Fix build of POSIX runtime on FreeBSD i386.
Browse files Browse the repository at this point in the history
  • Loading branch information
arrowd authored and ccadar committed May 6, 2019
1 parent fd8ec5c commit 27781b6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions runtime/POSIX/FreeBSD.h
Original file line number Diff line number Diff line change
Expand Up @@ -141,12 +141,15 @@ struct rlimit64;
#else
#define __NR_stat SYS_freebsd11_stat
#endif
#define __NR_stat64 __NR_stat
#define __NR_fstat SYS_fstat
#define __NR_fstat64 __NR_fstat
#ifdef SYS_lstat
#define __NR_lstat SYS_lstat
#else
#define __NR_lstat SYS_freebsd11_lstat
#endif
#define __NR_lstat64 __NR_lstat
#define __NR_pathconf SYS_pathconf
#define __NR_fpathconf SYS_fpathconf
#define __NR_getrlimit SYS_getrlimit
Expand Down Expand Up @@ -361,6 +364,7 @@ struct rlimit64;
#define __NR_lseek SYS_lseek
#define __NR_truncate SYS_truncate
#define __NR_ftruncate SYS_ftruncate
#define __NR_ftruncate64 __NR_ftruncate
#define __NR_thr_kill2 SYS_thr_kill2
#define __NR_shm_open SYS_shm_open
#define __NR_shm_unlink SYS_shm_unlink
Expand Down

0 comments on commit 27781b6

Please sign in to comment.