mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 03:09:13 +00:00
Various MinGW compile fixes.
This commit is contained in:
@ -803,7 +803,7 @@ static void StartListenThread () {
|
||||
|
||||
//===========================================================================
|
||||
#ifdef HS_DEBUGGING
|
||||
#include <StdIo.h>
|
||||
#include <cstdio>
|
||||
static void __cdecl DumpInvalidData (
|
||||
const plFileName & filename,
|
||||
unsigned bytes,
|
||||
|
@ -41,7 +41,7 @@ target_link_libraries(pnNetCommon pnKeyedObject)
|
||||
target_link_libraries(pnNetCommon pnUUID)
|
||||
target_link_libraries(pnNetCommon plStatusLog)
|
||||
if(WIN32)
|
||||
target_link_libraries(pnNetCommon Ws2_32)
|
||||
target_link_libraries(pnNetCommon ws2_32)
|
||||
endif(WIN32)
|
||||
|
||||
source_group("Header Files" FILES ${pnNetCommon_HEADERS})
|
||||
|
@ -21,7 +21,7 @@ add_library(pnUUID STATIC ${pnUUID_SOURCES} ${pnUUID_HEADERS})
|
||||
target_link_libraries(pnUUID CoreLib)
|
||||
if(WIN32)
|
||||
target_link_libraries(pnUUID pnUtils)
|
||||
target_link_libraries(pnUUID Rpcrt4)
|
||||
target_link_libraries(pnUUID rpcrt4)
|
||||
else(WIN32)
|
||||
target_link_libraries(pnUUID uuid)
|
||||
endif(WIN32)
|
||||
|
@ -57,7 +57,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#pragma warning(push, 3)
|
||||
#include <ws2tcpip.h>
|
||||
#define NTDDI_XP NTDDI_WINXP //Because Microsoft sucks.
|
||||
#include <Iphlpapi.h>
|
||||
#include <iphlpapi.h>
|
||||
#include <shlobj.h> // for SHGetSpecialFolderPath
|
||||
#pragma warning(pop)
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user