From 668034fd71180add1c0ea084f01dbd6c593fa889 Mon Sep 17 00:00:00 2001 From: Darryl Pogue Date: Sun, 29 Jan 2012 00:52:53 -0800 Subject: [PATCH] Fix plGLight. --- Sources/Plasma/PubUtilLib/plGLight/plPerspDirSlave.cpp | 2 +- Sources/Plasma/PubUtilLib/plGLight/plShadowSlave.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Plasma/PubUtilLib/plGLight/plPerspDirSlave.cpp b/Sources/Plasma/PubUtilLib/plGLight/plPerspDirSlave.cpp index 52476bf5..1010458f 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 -#ifndef isnan +#ifdef _MSC_VER #define isnan _isnan #endif diff --git a/Sources/Plasma/PubUtilLib/plGLight/plShadowSlave.cpp b/Sources/Plasma/PubUtilLib/plGLight/plShadowSlave.cpp index f98f93d1..266b56da 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 -#ifndef isnan +#ifdef _MSC_VER #define isnan _isnan #endif