mirror of
https://github.com/djhackersdev/bemanitools.git
synced 2025-02-17 11:18:31 +01:00
inject: Fix windows psapi mess by explicitly defining version
Otherwise, the compiler does not link the correct version of that API. See the requirements section at the bottom of the page here: https://docs.microsoft.com/en-us/windows/win32/api/psapi/nf-psapi-getmodulebasenamea
This commit is contained in:
parent
54b321c7d9
commit
ee034a1f08
@ -26,7 +26,7 @@ toolchain_64 := x86_64-w64-mingw32-
|
||||
gitrev := $(shell git rev-parse HEAD)
|
||||
cppflags := -I src -I src/main -I src/test -DGITREV=$(gitrev)
|
||||
cflags := -O2 -pipe -ffunction-sections -fdata-sections \
|
||||
-Wall -std=c99
|
||||
-Wall -std=c99 -DPSAPI_VERSION=1
|
||||
cflags_release := -Werror
|
||||
ldflags := -Wl,--gc-sections -static-libgcc
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user