diff options
author | charlydoes <charlydoes@svn> | 2009-09-25 14:12:41 +0000 |
---|---|---|
committer | charlydoes <charlydoes@svn> | 2009-09-25 14:12:41 +0000 |
commit | 4be8b8309c6c27ea8b2018b3f3ba5f0545bf269a (patch) | |
tree | ac70cd9df0b35a1223b0e09a6d054690e38a5e71 /guilib | |
parent | 6803f5b267a83e9d9be50f620d8852b1414ca2a5 (diff) |
[WIN32] fixed: build errors due to StdString including PlatformIncludes including PlatformDefs depending on defines from system.h which weren't defined yet....
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@23159 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib')
-rw-r--r-- | guilib/StdString.h | 5 | ||||
-rw-r--r-- | guilib/XMLUtils.cpp | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/guilib/StdString.h b/guilib/StdString.h index ab64f7a6ea..9800f946b2 100644 --- a/guilib/StdString.h +++ b/guilib/StdString.h @@ -2,8 +2,9 @@ #include <string> #include <stdint.h> #include <vector> -#if !defined(_LINUX) -#include "win32/PlatformDefs.h" // for va_copy + +#if defined(_WIN32) && !defined(va_copy) +#define va_copy(dst, src) ((dst) = (src)) #endif // ============================================================================= diff --git a/guilib/XMLUtils.cpp b/guilib/XMLUtils.cpp index 3bea7fc7b0..b158e261b5 100644 --- a/guilib/XMLUtils.cpp +++ b/guilib/XMLUtils.cpp @@ -22,6 +22,9 @@ #include "XMLUtils.h" #include "Util.h" #include "FileSystem/SpecialProtocol.h" +#ifdef _WIN32 +#include "PlatformDefs.h" //for strcasecmp +#endif bool XMLUtils::GetHex(const TiXmlNode* pRootNode, const char* strTag, uint32_t& hexValue) { |