Don't use threading with chaiscript
This commit is contained in:
parent
b106d2386d
commit
90a63365bd
4
deps/premake/chaiscript.lua
vendored
4
deps/premake/chaiscript.lua
vendored
@ -4,6 +4,10 @@ chaiscript = {
|
|||||||
|
|
||||||
function chaiscript.import()
|
function chaiscript.import()
|
||||||
chaiscript.includes()
|
chaiscript.includes()
|
||||||
|
|
||||||
|
defines {
|
||||||
|
"CHAISCRIPT_NO_THREADS" -- :(
|
||||||
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
function chaiscript.includes()
|
function chaiscript.includes()
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
#include <corecrt_io.h>
|
#include <corecrt_io.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <shellapi.h>
|
#include <shellapi.h>
|
||||||
|
#include <csetjmp>
|
||||||
|
|
||||||
// min and max is required by gdi, therefore NOMINMAX won't work
|
// min and max is required by gdi, therefore NOMINMAX won't work
|
||||||
#ifdef max
|
#ifdef max
|
||||||
|
Loading…
Reference in New Issue
Block a user