diff options
| author | Jon Ashburn <jon@lunarg.com> | 2016-05-09 11:31:40 -0600 |
|---|---|---|
| committer | Jon Ashburn <jon@lunarg.com> | 2016-05-09 13:56:10 -0600 |
| commit | a12907853c1f73946c285f50e5564594a5d08c39 (patch) | |
| tree | 02872d4a07ac472282658666181ef37f88c683f5 /loader | |
| parent | 924880346c97f4841fca1845448a906dd8e27543 (diff) | |
| download | usermoji-a12907853c1f73946c285f50e5564594a5d08c39.tar.xz | |
loader: lvlgh204, Fix calls to secure_getenv on glibc < 2.17
Change-Id: I2f98d8de343cf3f6a30fdc223b37201b32571e99
Diffstat (limited to 'loader')
| -rw-r--r-- | loader/loader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/loader.c b/loader/loader.c index 59572474..f5fd6da2 100644 --- a/loader/loader.c +++ b/loader/loader.c @@ -47,7 +47,7 @@ #include "murmurhash.h" #if defined(__GNUC__) -#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 17) +#if (__GLIBC__ < 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ < 17)) #define secure_getenv __secure_getenv #endif #endif |
