fix lib detours compilation on MinGW (missing header include)
This commit is contained in:
parent
5863d61665
commit
4c318d32b2
@ -442,6 +442,12 @@ filter { "system:windows", "action:gmake*", }
|
|||||||
-- even when they're force-loaded in any process they immediately unload
|
-- even when they're force-loaded in any process they immediately unload
|
||||||
"-static",
|
"-static",
|
||||||
}
|
}
|
||||||
|
-- MinGw on Windows cannot compile 'creatwth.cpp' from Detours lib (error: 'DWordMult' was not declared in this scope)
|
||||||
|
-- because intsafe.h isn't included by default
|
||||||
|
filter { "system:windows", "action:gmake*", "files:**/detours/creatwth.cpp" }
|
||||||
|
buildoptions {
|
||||||
|
"-include intsafe.h",
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user