Unified · Split
| @@ -225,7 +225,7 @@ typedef struct alloca_list_struct { · 224 unmodified lines | |||
| 225 | #define BOUND_GET_TID(id) id = GetCurrentThreadId() | 225 | #define BOUND_GET_TID(id) id = GetCurrentThreadId() |
| 226 | #elif defined(__OpenBSD__) | 226 | #elif defined(__OpenBSD__) |
| 227 | #define BOUND_TID_TYPE pid_t | 227 | #define BOUND_TID_TYPE pid_t |
| 228 | #define BOUND_GET_TID(id) id = syscall (SYS_getthrid) | 228 | #define BOUND_GET_TID(id) id = getthrid() |
| 229 | #elif defined(__FreeBSD__) | 229 | #elif defined(__FreeBSD__) |
| 230 | #define BOUND_TID_TYPE pid_t | 230 | #define BOUND_TID_TYPE pid_t |
| 231 | #define BOUND_GET_TID(id) syscall (SYS_thr_self, &id) | 231 | #define BOUND_GET_TID(id) syscall (SYS_thr_self, &id) |