diff options
Diffstat (limited to 'libgcompat/version.c')
-rw-r--r-- | libgcompat/version.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libgcompat/version.c b/libgcompat/version.c new file mode 100644 index 0000000..63146f8 --- /dev/null +++ b/libgcompat/version.c @@ -0,0 +1,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"; +} |