blob: 1b7687c5d1b7d478e5c8a72b6a704d8d8d1ea7ee (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#include <stddef.h> /* NULL */
#include <stdlib.h> /* getenv */
/**
* Get glibc release.
*
* LSB 5.0: LSB-Core-generic/baselib-gnu-get-libc-version-1.html
*/
const char *gnu_get_libc_release(void)
{
return "stable";
}
/**
* Get glibc version.
*
* LSB 5.0: LSB-Core-generic/baselib-gnu-get-libc-version-1.html
*/
const char *gnu_get_libc_version(void)
{
char *ver = getenv("GLIBC_FAKE_VERSION");
if (ver == NULL) {
ver = "2.8";
}
return ver;
}
|