Missing macro for MinGW

This commit is contained in:
Linus Yang
2018-03-10 23:44:27 +08:00
parent 87b7dd85a9
commit b4c5021c65
+1 -1
View File
@@ -307,7 +307,7 @@ setfastopen(int fd)
int s = 0;
#ifdef TCP_FASTOPEN
if (fast_open) {
#ifdef __APPLE__
#if defined(__APPLE__) || defined(__MINGW32__)
int opt = 1;
#else
int opt = 5;