From 8e867ab0c0a41914251b31c13b1a5ea4be1c871a Mon Sep 17 00:00:00 2001 From: hagen Date: Mon, 28 Dec 2015 00:00:00 +0000 Subject: [PATCH] * util.cpp : reorder defines --- util.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/util.cpp b/util.cpp index 53762580..c8cdca1c 100644 --- a/util.cpp +++ b/util.cpp @@ -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; }