missing_threads.h: threads.h exists since glibc-2.28

This commit is contained in:
Yu Watanabe
2025-03-04 02:24:49 +09:00
parent 75b101718c
commit e75372958d
24 changed files with 24 additions and 36 deletions
+1 -1
View File
@@ -1,9 +1,9 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#include <threads.h>
#include <unistd.h>
#include "memory-util.h"
#include "missing_threads.h"
size_t page_size(void) {
static thread_local size_t pgsz = 0;