Touching up new system for linux support

This commit is contained in:
David Anderson
2005-07-31 22:16:54 +00:00
parent a7fb4e85c9
commit 13ed6ed2d6
5 changed files with 24 additions and 10 deletions

View File

@@ -377,12 +377,16 @@ int load_amxscript(AMX *amx, void **program, const char *filename, char error[64
if (will_be_debugged)
{
#ifdef JIT
amx->flags |= AMX_FLAG_DEBUG;
#endif
amx_SetDebugHook(amx, amxx_DebugHook);
} else {
//set this again because amx_Init() erases it!
#ifdef JIT
amx->flags |= AMX_FLAG_JITC;
amx->sysreq_d = NULL;
#endif
}
#ifdef JIT