aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/iomgr/socket_utils_posix.c
diff options
context:
space:
mode:
authorGravatar David Klempner <klempner@imsanet.org>2015-02-04 10:18:59 -0800
committerGravatar David Klempner <klempner@imsanet.org>2015-02-04 10:18:59 -0800
commit78b79920afbdc87284c49fc27358d2854ae8fe9c (patch)
tree7e5d1969c241556cef74e130a4d2118771dc61b6 /src/core/iomgr/socket_utils_posix.c
parent78d1fd07d27a2ac28eca792933e052cb1fe1fa17 (diff)
Fix up feature test macros
Move all feature test macros to the start of the file and check that they aren't already defined or defined to a lower value than the file needs. Projects should be allowed to put these in CFLAGS and we shouldn't break when they do.
Diffstat (limited to 'src/core/iomgr/socket_utils_posix.c')
-rw-r--r--src/core/iomgr/socket_utils_posix.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/iomgr/socket_utils_posix.c b/src/core/iomgr/socket_utils_posix.c
index 06c5033d45..9184b2a47c 100644
--- a/src/core/iomgr/socket_utils_posix.c
+++ b/src/core/iomgr/socket_utils_posix.c
@@ -35,7 +35,6 @@
#ifdef GPR_POSIX_SOCKETUTILS
-#define _BSD_SOURCE
#include "src/core/iomgr/socket_utils_posix.h"
#include <fcntl.h>