2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 21:07:42 +00:00

Windows Fixes

This commit is contained in:
Jack Andersen
2016-09-18 15:02:57 -10:00
parent 6de25c1d1d
commit c1dcf6d23e
4 changed files with 21 additions and 6 deletions

2
hecl/extern/athena vendored

Submodule hecl/extern/athena updated: d4d1bdabc6...a2d040aeb4

2
hecl/extern/boo vendored

Submodule hecl/extern/boo updated: 46b1b84cfc...528c572671

View File

@@ -7,6 +7,9 @@
#include <stdlib.h> #include <stdlib.h>
#include <algorithm> #include <algorithm>
#undef min
#undef max
namespace hecl namespace hecl
{ {
namespace Backend namespace Backend

View File

@@ -1084,16 +1084,28 @@ public:
* @brief Construct a path with the aux info overwritten with specified string * @brief Construct a path with the aux info overwritten with specified string
* @param auxStr string to replace existing auxInfo with * @param auxStr string to replace existing auxInfo with
*/ */
hecl::ProjectPath ensureAuxInfo(const SystemChar* auxStr) const ProjectPath ensureAuxInfo(const SystemChar* auxStr) const
{ {
return hecl::ProjectPath(getProject(), getRelativePath() + _S('|') + auxStr); return ProjectPath(getProject(), getRelativePath() + _S('|') + auxStr);
} }
hecl::ProjectPath ensureAuxInfo(const SystemString& auxStr) const ProjectPath ensureAuxInfo(const SystemString& auxStr) const
{ {
return ensureAuxInfo(auxStr.c_str()); return ProjectPath(getProject(), getRelativePath() + _S('|') + auxStr);
} }
#if HECL_UCS2
ProjectPath ensureAuxInfo(const char* auxStr) const
{
return ProjectPath(getProject(), getRelativePath() + _S('|') + UTF8ToWide(auxStr));
}
ProjectPath ensureAuxInfo(const std::string& auxStr) const
{
return ProjectPath(getProject(), getRelativePath() + _S('|') + UTF8ToWide(auxStr));
}
#endif
/** /**
* @brief Type of path * @brief Type of path
*/ */