mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-22 06:13:45 -07:00
fix Windows build
This commit is contained in:
parent
9ef1223330
commit
87be68cd6c
3 changed files with 3 additions and 2 deletions
|
@ -96,7 +96,7 @@ int OutputFormatter::Write(const std::string& buf)
|
|||
return Write(buf.data(), buf.size());
|
||||
}
|
||||
|
||||
__thread OutputFormatter* OutputFormatter::Instance;
|
||||
thread_local OutputFormatter* OutputFormatter::Instance;
|
||||
|
||||
int OutputFormatter::WriteStatic(const char* buf, int count)
|
||||
{
|
||||
|
|
|
@ -25,7 +25,7 @@ private:
|
|||
|
||||
void Flush();
|
||||
|
||||
static __thread OutputFormatter* Instance;
|
||||
static thread_local OutputFormatter* Instance;
|
||||
static int WriteStatic(const char* buf, int count);
|
||||
|
||||
public:
|
||||
|
|
|
@ -278,6 +278,7 @@
|
|||
<ClCompile Include="src\code\z_actor_dlftbls.c" />
|
||||
<ClCompile Include="src\code\z_bgcheck.c" />
|
||||
<ClCompile Include="src\code\z_camera.c" />
|
||||
<ClCompile Include="src\code\z_cheap_proc.c" />
|
||||
<ClCompile Include="src\code\z_collision_btltbls.c" />
|
||||
<ClCompile Include="src\code\z_collision_check.c" />
|
||||
<ClCompile Include="src\code\z_common_data.c" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue