mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-27 05:04:01 +08:00
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
|
||||
"-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…
Reference in New Issue
Block a user