Skip to content

Commit

Permalink
Move lwpid_t hack into same place.
Browse files Browse the repository at this point in the history
  • Loading branch information
sobomax committed Dec 12, 2024
1 parent 5e77c0e commit b500788
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 0 additions & 4 deletions bsd-user/linux/os-thread.h
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,6 @@ static inline abi_long do_freebsd_thr_set_name(abi_long tid, abi_ulong target_na
#endif
}

#if defined(__linux__)
typedef abi_long lwpid_t;
#endif

static inline abi_long do_freebsd_rtprio_thread(int function, lwpid_t lwpid,
abi_ulong target_addr)
{
Expand Down
1 change: 1 addition & 0 deletions bsd-user/linux/qemu-os.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
#undef SIGRTMIN
#define SIGRTMIN __SIGRTMIN
#define TARGET_STRERR_FILENO 2
#define lwpid_t int32_t
#define __lwpid_t int32_t
#define __uintptr_t uintptr_t
#define __LP64__ 1
Expand Down

0 comments on commit b500788

Please sign in to comment.