aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Julien Boeuf <jboeuf@google.com>2015-02-05 13:18:33 -0800
committerGravatar Julien Boeuf <jboeuf@google.com>2015-02-05 13:18:33 -0800
commit5f925a95c19514e6ad7d387d37ce63f1948a88de (patch)
treec47f0df94d154c54d0abe3b067b13d28a3c8ffd9 /src
parent9be98601b81dfd33835e88132b72675429de9640 (diff)
Addressing comments.
Diffstat (limited to 'src')
-rw-r--r--src/core/support/file_posix.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/support/file_posix.c b/src/core/support/file_posix.c
index a763fbcda2..21a985012e 100644
--- a/src/core/support/file_posix.c
+++ b/src/core/support/file_posix.c
@@ -33,7 +33,8 @@
/* Posix code for gpr fdopen and mkstemp support. */
-#ifndef _POSIX_C_SOURCE
+#if !defined _POSIX_C_SOURCE || _POSIX_C_SOURCE < 200112L
+#undef _POSIX_C_SOURCE
#define _POSIX_C_SOURCE 200112L
#endif