diff options
author | Craig Tiller <craig.tiller@gmail.com> | 2015-02-04 17:32:28 -0800 |
---|---|---|
committer | Craig Tiller <craig.tiller@gmail.com> | 2015-02-04 17:32:28 -0800 |
commit | 2ea1074bd9ef3de150a4e0f03bdeb58111eef634 (patch) | |
tree | 724b83366a22936765001f641d2c25e5b7efdbfc /src/core/support/string_posix.c | |
parent | 24fc2c4c5ddc56a678f17170ac4eec4ec570c780 (diff) | |
parent | 53476f1d0e52dfa21fa5363fe29396e96748ab14 (diff) |
Merge github.com:google/grpc into async-api-new
Diffstat (limited to 'src/core/support/string_posix.c')
-rw-r--r-- | src/core/support/string_posix.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/support/string_posix.c b/src/core/support/string_posix.c index 57832810ad..a6bb8058e6 100644 --- a/src/core/support/string_posix.c +++ b/src/core/support/string_posix.c @@ -33,7 +33,8 @@ /* Posix code for gpr snprintf support. */ -#ifndef _POSIX_C_SOURCE +#if !defined _POSIX_C_SOURCE || _POSIX_C_SOURCE < 200112L +#undef _POSIX_C_SOURCE #define _POSIX_C_SOURCE 200112L #endif |