mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 21:07:42 +00:00
Windows Fixes
This commit is contained in:
2
hecl/extern/athena
vendored
2
hecl/extern/athena
vendored
Submodule hecl/extern/athena updated: d4d1bdabc6...a2d040aeb4
2
hecl/extern/boo
vendored
2
hecl/extern/boo
vendored
Submodule hecl/extern/boo updated: 46b1b84cfc...528c572671
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user