summaryrefslogtreecommitdiff
path: root/libgcompat/version.c
blob: 63146f852b6aba65fe1628f810254faefb049405 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <stdlib.h>	// getenv

const char *gnu_get_libc_version(void)
{
	char *ver = getenv("GLIBC_FAKE_VERSION");
	if(ver == NULL) ver = "2.8";

	return ver;
}

const char *gnu_get_libc_release(void)
{
	return "stable";
}