mirror of
https://github.com/djhackersdev/bemanitools.git
synced 2026-09-25 08:25:25 -05: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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user