mirror of https://github.com/AxioDL/metaforce.git
Fix linux build
This commit is contained in:
parent
ecb722ae43
commit
7bc98872a6
|
@ -403,8 +403,13 @@ BlenderConnection::BlenderConnection(int verbosityLevel)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Stash error path and unlink existing file */
|
/* Stash error path and unlink existing file */
|
||||||
|
#if _WIN32
|
||||||
m_errPath = hecl::SystemString(TMPDIR) + hecl::SysFormat(_S("/hecl_%016llX.derp"),
|
m_errPath = hecl::SystemString(TMPDIR) + hecl::SysFormat(_S("/hecl_%016llX.derp"),
|
||||||
(unsigned long long)m_pinfo.dwProcessId);
|
(unsigned long long)m_pinfo.dwProcessId);
|
||||||
|
#else
|
||||||
|
m_errPath = hecl::SystemString(TMPDIR) + hecl::SysFormat(_S("/hecl_%016llX.derp"),
|
||||||
|
(unsigned long long)m_blenderProc);
|
||||||
|
#endif
|
||||||
hecl::Unlink(m_errPath.c_str());
|
hecl::Unlink(m_errPath.c_str());
|
||||||
|
|
||||||
/* Handle first response */
|
/* Handle first response */
|
||||||
|
|
Loading…
Reference in New Issue