diff --git a/amxmodx/amxmodx.cpp b/amxmodx/amxmodx.cpp index e87e7ca4..f9aeeca8 100755 --- a/amxmodx/amxmodx.cpp +++ b/amxmodx/amxmodx.cpp @@ -302,6 +302,15 @@ static cell AMX_NATIVE_CALL is_linux_server(AMX *amx, cell *params) #endif } +static cell AMX_NATIVE_CALL is_jit_enabled(AMX *amx, cell *params) // PM: Useless ;P +{ +#ifdef JIT + return 1; +#else + return 0; +#endif +} + static cell AMX_NATIVE_CALL is_map_valid(AMX *amx, cell *params) /* 1 param */ { int ilen; @@ -2567,6 +2576,7 @@ AMX_NATIVE_INFO amxmod_Natives[] = { { "get_xvar_num", get_xvar_num }, { "is_dedicated_server",is_dedicated_server }, { "is_linux_server", is_linux_server }, + { "is_jit_enabled", is_jit_enabled }, { "is_user_authorized", is_user_authorized }, { "is_map_valid", is_map_valid }, { "is_user_alive", is_user_alive },