Skip to content

Commit 75efc74

Browse files
committed
fix __thrsleep on OpenBSD
1 parent 5039b59 commit 75efc74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

openbsd/openbsd_threadpark.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
* We can declare them manually here if not included by default headers.
1212
*/
1313
extern "C" {
14-
int _thrsleep(const volatile void *identifier,
14+
int __thrsleep(const volatile void *identifier,
1515
clockid_t clock_id,
1616
const struct timespec *timeout,
1717
int flags);
18-
int _thrwakeup(const volatile void *identifier,
18+
int __thrwakeup(const volatile void *identifier,
1919
int n);
2020
}
2121

0 commit comments

Comments
 (0)