diff -r 3c7faa7abf09 -r 11e62a912700 sourcehook/sourcehook.cpp --- a/sourcehook/sourcehook.cpp Fri Apr 22 14:28:52 2005 +0000 +++ b/sourcehook/sourcehook.cpp Fri Apr 22 14:29:25 2005 +0000 @@ -20,7 +20,7 @@ # include #elif SH_SYS == SH_SYS_LINUX # include -# include +# include # include # ifndef PAGESIZE # define PAGESIZE 4096 @@ -459,7 +459,7 @@ void *callgate = NULL; #if SH_RUNTIME_CODEGEN == 1 unsigned char *cggen = new unsigned char[SH_CCC_CODESIZE]; - SH_CCC_MakeGate(cc.iface, cc.ptr, cggen, orig_entry); + //SH_CCC_MakeGate(cc.iface, cc.ptr, cggen, orig_entry); callgate = (void*)cggen; SetMemAccess(callgate, SH_CCC_CODESIZE, SH_MEM_READ | SH_MEM_WRITE | SH_MEM_EXEC); #else @@ -581,4 +581,4 @@ { return m_IfacePtr; } -} \ No newline at end of file +}