diff options
author | Yuxuan Shui <yshuiv7@gmail.com> | 2020-05-03 19:21:17 +0100 |
---|---|---|
committer | Yuxuan Shui <yshuiv7@gmail.com> | 2020-05-05 10:29:31 +0100 |
commit | 5bc48bd428303aabe19c196a47d1d89a605397be (patch) | |
tree | 10d75608bf415e37810e7846c80193218e35b4e5 /tests/test_basic.py | |
parent | 6e9f4602408e9bcdb33bce6ab3a2d8562613d6ce (diff) |
Fix building on musl
* Add missing linux/stddef.h includes
* Explicitly cast PAGE_SIZE to size_t. PAGE_SIZE is defined without UL
suffix in musl
* Musl doesn't define PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP, so
initialize the mutexes with pthread_once.
Diffstat (limited to 'tests/test_basic.py')
0 files changed, 0 insertions, 0 deletions