musl: introduce dummy function for gnu_get_libc_version()

As the header gnu/libc-version.h and gnu_get_libc_version() function
are glibc specific, and musl does not provide them.
This commit is contained in:
Yu Watanabe
2025-11-14 04:59:03 +09:00
parent bc610c70af
commit 03d0fa4e4f
2 changed files with 28 additions and 6 deletions
+8
View File
@@ -0,0 +1,8 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once
#include <stddef.h>
static inline const char* gnu_get_libc_version(void) {
return "";
}