Explorar o código

Correct kNet winsock2.h include order. Fixes #16.

Lasse Öörni %!s(int64=12) %!d(string=hai) anos
pai
achega
752051b86f

+ 1 - 1
Source/ThirdParty/kNet/include/kNet/MessageConnection.h

@@ -22,11 +22,11 @@
 #include <set>
 
 #include "kNetBuildConfig.h"
+#include "Socket.h"
 #include "WaitFreeQueue.h"
 #include "NetworkSimulator.h"
 #include "LockFreePoolAllocator.h"
 #include "Lockable.h"
-#include "Socket.h"
 #include "IMessageHandler.h"
 #include "BasicSerializedDataTypes.h"
 #include "Datagram.h"

+ 1 - 1
Source/ThirdParty/kNet/src/NetworkSimulator.cpp

@@ -12,8 +12,8 @@
    See the License for the specific language governing permissions and
    limitations under the License. */
 
-#include "kNet/NetworkSimulator.h"
 #include "kNet/MessageConnection.h"
+#include "kNet/NetworkSimulator.h"
 
 namespace kNet
 {

+ 1 - 1
Source/ThirdParty/kNet/src/win32/W32Thread.cpp

@@ -18,11 +18,11 @@
 #include <cassert>
 #include <exception>
 
+#include "kNet/Network.h"
 #include "kNet/Thread.h"
 #include "kNet/NetworkLogging.h"
 #include "kNet/Clock.h"
 #include "kNet/NetException.h"
-#include "kNet/Network.h"
 
 #include "kNet/DebugMemoryLeakCheck.h"