mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 15:21:56 -05:00
Fix build issue with MSVC
windows.h is a mess.
This commit is contained in:
@@ -34,8 +34,9 @@
|
||||
|
||||
#ifdef WINDOWS_ENABLED
|
||||
#include <stdio.h>
|
||||
#include <windows.h>
|
||||
#include <winsock2.h>
|
||||
// Needs to be included after winsocks2.h
|
||||
#include <windows.h>
|
||||
#include <ws2tcpip.h>
|
||||
#ifndef UWP_ENABLED
|
||||
#if defined(__MINGW32__) && (!defined(__MINGW64_VERSION_MAJOR) || __MINGW64_VERSION_MAJOR < 4)
|
||||
|
||||
Reference in New Issue
Block a user