2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-05 23:15:52 +00:00

Fix linux build

This commit is contained in:
Phillip Stephens 2016-12-25 21:54:23 -08:00
parent ecb722ae43
commit 7bc98872a6

View File

@ -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 */