summaryrefslogblamecommitdiff
path: root/libgcompat/version.c
blob: 99c2c8cc8d195bb075ad18067050d4755e809f94 (plain) (tree)
1
2
3
4
5
6
7
8
                                



                                                 


                            







                                      
#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";
}