diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2018-11-23 09:22:12 +0530 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2018-12-14 14:47:01 -0500 |
commit | e4614618ba078a5c4144e8a3a98ce0525ee6504d (patch) | |
tree | 9fc32ef3d1896660fd4fbb3e042b79c8566706f0 /socket/tcp-bsd.c | |
parent | 3685e3d3755690aa1a99c321de5c3f7801ce74da (diff) | |
download | libnice-e4614618ba078a5c4144e8a3a98ce0525ee6504d.tar.gz |
Fix build with MSVC
Tested inside Cerbero with VS 2017
Diffstat (limited to 'socket/tcp-bsd.c')
-rw-r--r-- | socket/tcp-bsd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/socket/tcp-bsd.c b/socket/tcp-bsd.c index 49f5f25..406e955 100644 --- a/socket/tcp-bsd.c +++ b/socket/tcp-bsd.c @@ -59,6 +59,7 @@ /* FIXME: This should be defined in gio/gnetworking.h, which we should include; * but we cannot do that without refactoring. * (See: https://phabricator.freedesktop.org/D230). */ +#undef TCP_NODELAY #define TCP_NODELAY 1 static GMutex mutex; |