0
0
Fork 0
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:
Jason Volk 2019-06-01 21:59:31 -07:00
parent 1dc8f999e7
commit 110dafde18

View file

@ -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
//