mirror of
https://github.com/matrix-construct/construct
synced 2025-02-18 09:40:12 +01:00
ircd::info: Wrap the glibc_version with appropriate #ifdefs.
This commit is contained in:
parent
1dc8f999e7
commit
110dafde18
1 changed files with 6 additions and 1 deletions
|
@ -295,7 +295,10 @@ ircd::info::kernel_version
|
|||
utsname.release
|
||||
};
|
||||
|
||||
// libc
|
||||
//
|
||||
// glibc
|
||||
//
|
||||
#if defined(__GNU_LIBRARY__) && defined(__GLIBC__) && defined(__GLIBC_MINOR__)
|
||||
|
||||
decltype(ircd::info::glibc_version_api)
|
||||
ircd::info::glibc_version_api
|
||||
|
@ -322,6 +325,8 @@ ircd::info::glibc_version_abi
|
|||
"glibc", versions::ABI, 0, {0}, "<unknown>" //TODO: get this.
|
||||
};
|
||||
|
||||
#endif defined(__GNU_LIBRARY__) && defined(__GLIBC__) && defined(__GLIBC_MINOR__)
|
||||
|
||||
//
|
||||
// System information
|
||||
//
|
||||
|
|
Loading…
Add table
Reference in a new issue