Fix build on FreeBSD

FreeBSD also needs monterey-style hooking.
pull/429/head
Emanuel Haupt 2022-01-25 08:57:18 +01:00 committed by GitHub
parent 2cc014995e
commit 3355b17f30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -559,7 +559,7 @@ inv_host:
/******* HOOK FUNCTIONS *******/
#define EXPAND( args...) args
#ifdef MONTEREY_HOOKING
#if defined(MONTEREY_HOOKING) || defined(__FreeBSD__)
#define HOOKFUNC(R, N, args...) R pxcng_ ## N ( EXPAND(args) )
#else
#define HOOKFUNC(R, N, args...) R N ( EXPAND(args) )