Browse Source

* util.cpp : reorder defines

pull/317/head
hagen 9 years ago
parent
commit
8e867ab0c0
  1. 6
      util.cpp

6
util.cpp

@ -599,10 +599,10 @@ namespace net @@ -599,10 +599,10 @@ namespace net
{
const int fallback = 576; // fallback MTU
#if defined(__linux__) || defined(__FreeBSD_kernel__) || defined(__APPLE__) || defined(__OpenBSD__)
return GetMTUUnix(localAddress, fallback);
#elif defined(WIN32)
#ifdef WIN32
return GetMTUWindows(localAddress, fallback);
#else
return GetMTUUnix(localAddress, fallback);
#endif
return fallback;
}

Loading…
Cancel
Save