Skip to content

Commit

Permalink
compile without thread safe init for XP support
Browse files Browse the repository at this point in the history
  • Loading branch information
aap committed Jan 20, 2018
1 parent 1c5f1db commit 453462b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ project "skygfx_vc"
targetextension ".dll"
characterset ("MBCS")

buildoptions { "/Zc:threadSafeInit-" }

filter "configurations:DebugIII"
defines { "DEBUG" }
flags { "StaticRuntime" }
Expand Down
1 change: 0 additions & 1 deletion src/neoGlosspipe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ GlossPipe::Get(void)
{
static GlossPipe glosspipe;
return &glosspipe;

}

GlossPipe::GlossPipe(void)
Expand Down

0 comments on commit 453462b

Please sign in to comment.