mirror of
https://github.com/matrix-construct/construct
synced 2024-09-27 11:18:51 +02:00
ircd::info: Add glibc related to info.
This commit is contained in:
parent
960553f279
commit
feb1aa5d2f
2 changed files with 10 additions and 0 deletions
|
@ -48,6 +48,8 @@ namespace ircd::info
|
|||
extern const size_t rlimit_data;
|
||||
extern const size_t rlimit_rss;
|
||||
extern const size_t rlimit_nofile;
|
||||
|
||||
extern const int glibc[3];
|
||||
#ifdef HAVE_SYS_UTSNAME_H
|
||||
extern const ::utsname utsname;
|
||||
#endif
|
||||
|
|
|
@ -183,6 +183,14 @@ ircd::info::startup
|
|||
// System / platform information
|
||||
//
|
||||
|
||||
const int
|
||||
glibc[3]
|
||||
{
|
||||
__GNU_LIBRARY__,
|
||||
__GLIBC__,
|
||||
__GLIBC_MINOR__,
|
||||
};
|
||||
|
||||
#ifdef HAVE_SYS_UTSNAME_H
|
||||
decltype(ircd::info::utsname)
|
||||
ircd::info::utsname{[]
|
||||
|
|
Loading…
Reference in a new issue