diff options
author | Julien Boeuf <jboeuf@google.com> | 2015-02-04 17:00:08 -0800 |
---|---|---|
committer | Julien Boeuf <jboeuf@google.com> | 2015-02-04 17:00:08 -0800 |
commit | 7413f108325d7965de44837704567e7ecb4f836a (patch) | |
tree | 9925bb32935fac3a965b51caa402bd70bbfa6432 /src | |
parent | 05618967516ca807d4deadea05e90b439c3f2e7c (diff) |
Adding linux specific env implementation.
Diffstat (limited to 'src')
-rw-r--r-- | src/core/support/env_posix.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/core/support/env_posix.c b/src/core/support/env_posix.c index 79b8fcd7d7..bcbff9a177 100644 --- a/src/core/support/env_posix.c +++ b/src/core/support/env_posix.c @@ -31,11 +31,6 @@ * */ -/* for secure_getenv. */ -#ifndef _GNU_SOURCE -#define _GNU_SOURCE -#endif - #include <grpc/support/port_platform.h> #ifdef GPR_POSIX_ENV @@ -49,7 +44,7 @@ #include "src/core/support/string.h" char *gpr_getenv(const char *name) { - char *result = secure_getenv(name); + char *result = getenv(name); return result == NULL ? result : gpr_strdup(result); } |