Browse Source

Missing macro for MinGW

pull/1965/head
Linus Yang 7 years ago
parent
commit
b4c5021c65
1 changed files with 1 additions and 1 deletions
  1. 2
      src/server.c

2
src/server.c

@ -307,7 +307,7 @@ setfastopen(int fd)
int s = 0; int s = 0;
#ifdef TCP_FASTOPEN #ifdef TCP_FASTOPEN
if (fast_open) { if (fast_open) {
#ifdef __APPLE__
#if defined(__APPLE__) || defined(__MINGW32__)
int opt = 1; int opt = 1;
#else #else
int opt = 5; int opt = 5;

Loading…
Cancel
Save