From 53c8c1aa9b61b31ef8be59348593dd7bf326efa5 Mon Sep 17 00:00:00 2001 From: Darryl Pogue Date: Sat, 4 Feb 2012 23:17:50 -0800 Subject: [PATCH] Fix a problem linking plNetCommMsgs. --- Sources/Plasma/PubUtilLib/plGLight/plPerspDirSlave.cpp | 2 +- Sources/Plasma/PubUtilLib/plGLight/plShadowSlave.cpp | 2 +- Sources/Plasma/PubUtilLib/plMessage/plNetCommMsgs.h | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Sources/Plasma/PubUtilLib/plGLight/plPerspDirSlave.cpp b/Sources/Plasma/PubUtilLib/plGLight/plPerspDirSlave.cpp index 1010458f..03f0f172 100644 --- a/Sources/Plasma/PubUtilLib/plGLight/plPerspDirSlave.cpp +++ b/Sources/Plasma/PubUtilLib/plGLight/plPerspDirSlave.cpp @@ -50,7 +50,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include #include -#ifdef _MSC_VER +#ifdef HS_BUILD_FOR_WIN32 #define isnan _isnan #endif diff --git a/Sources/Plasma/PubUtilLib/plGLight/plShadowSlave.cpp b/Sources/Plasma/PubUtilLib/plGLight/plShadowSlave.cpp index 266b56da..61817a24 100644 --- a/Sources/Plasma/PubUtilLib/plGLight/plShadowSlave.cpp +++ b/Sources/Plasma/PubUtilLib/plGLight/plShadowSlave.cpp @@ -48,7 +48,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include #include -#ifdef _MSC_VER +#ifdef HS_BUILD_FOR_WIN32 #define isnan _isnan #endif diff --git a/Sources/Plasma/PubUtilLib/plMessage/plNetCommMsgs.h b/Sources/Plasma/PubUtilLib/plMessage/plNetCommMsgs.h index 784b2fe0..59da9b9c 100644 --- a/Sources/Plasma/PubUtilLib/plMessage/plNetCommMsgs.h +++ b/Sources/Plasma/PubUtilLib/plMessage/plNetCommMsgs.h @@ -49,9 +49,10 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #define plNetCommMsgs_inc -#include "pnUtils/pnUtArray.h" +#include "pnUtils/pnUtils.h" #include "pnNetBase/pnNetBase.h" #include "pnMessage/plMessage.h" +#include "pnNetProtocol/pnNetProtocol.h" class plNetCommReplyMsg : public plMessage { public: