16#ifdef HAVE_GNU_LIBC_VERSION_H
17#include <gnu/libc-version.h>
20#ifdef HAVE_GNU_LIBC_VERSION_H
21#ifdef HAVE_GNU_GET_LIBC_VERSION
22#define CHECK_LIBC_VERSION
27#define STR(x) STR_IMPL(x)
29#if defined(__BSD_VISIBLE) || defined(__NETBSD_SOURCE)
38#if defined(__BSD_VISIBLE) || defined(__NETBSD_SOURCE)
53#ifdef __DragonFly_version
54 return STR(__DragonFly_version);
57 return STR(__FreeBSD_version);
59#ifdef __NetBSD_Version__
60 return STR(__NetBSD_Version__);
65#ifdef CHECK_LIBC_VERSION
66 const char *version = gnu_get_libc_version();
81 return STR(__GLIBC__)
"." STR(__GLIBC_MINOR__);
const char * tor_libc_get_header_version_str(void)
const char * tor_libc_get_version_str(void)
const char * tor_libc_get_name(void)
Header for lib/osinfo/libc.c.