EDIT: I got it working, I needed to add
#include "jit/jit_helpers.h" before every
#include "CDetour/detourhelpers.h" line.
I also needed to compile this under Sourcemod 1.6, otherwise the server crashed the moment someone joined.
.......
I'm trying to compile this extension against Sourcemod 1.11 and Metamod 1.11, but I am running into the following error:
Code:
In file included from /home/l4d2/alliedmodders/Left4Fix/src/codepatch/tiebreak.cpp:35:
In file included from /home/l4d2/alliedmodders/sourcemod/public/CDetour/detourhelpers.h:41:
/home/l4d2/alliedmodders/sourcemod/public/jit/x86/x86_macros.h:54:7: error: unknown type name 'jit_uint8_t'; did you mean '__uint8_t'?
const jit_uint8_t kREG_EAX = 0;
^~~~~~~~~~~
__uint8_t
/usr/include/bits/types.h:38:23: note: '__uint8_t' declared here
typedef unsigned char __uint8_t;
I am not sure how to go about addressing this, can anyone provide guidance?