diff --git a/amxmodx/JIT/helpers-x86.o b/amxmodx/JIT/helpers-x86.o index cf5071f1..22b30d80 100644 Binary files a/amxmodx/JIT/helpers-x86.o and b/amxmodx/JIT/helpers-x86.o differ diff --git a/amxmodx/Makefile b/amxmodx/Makefile index 89b27dee..98cb15a9 100755 --- a/amxmodx/Makefile +++ b/amxmodx/Makefile @@ -45,6 +45,7 @@ ifeq "$(AMD64)" "true" else BINARY = $(NAME)_i386.so OBJECTS += JIT/amxexecn.o JIT/amxjitsn.o JIT/natives-x86.o + OBJECTS += JIT/helpers-x86.o CFLAGS += -DPAWN_CELL_SIZE=32 -DJIT -DASM32 OPT_FLAGS += -march=i586 endif diff --git a/amxmodx/helpers-x86.asm b/amxmodx/helpers-x86.asm index afe71e60..6b7f9297 100644 --- a/amxmodx/helpers-x86.asm +++ b/amxmodx/helpers-x86.asm @@ -8,7 +8,11 @@ section .text %ifdef LINUX -%define __snprintf _snprintf +%define __snprintf snprintf +%define _get_amxstring_r get_amxstring_r +%define _MNF_GetAmxString MNF_GetAmxString +%define _translate translate +%define _LogError LogError %endif extern _LogError, _get_amxstring_r, __snprintf, _MNF_GetAmxString diff --git a/amxmodx/meta_api.cpp b/amxmodx/meta_api.cpp index 0d29ddb9..53b7cea1 100755 --- a/amxmodx/meta_api.cpp +++ b/amxmodx/meta_api.cpp @@ -1145,7 +1145,7 @@ C_DLLEXPORT int Meta_Query(char *ifvers, plugin_info_t **pPlugInfo, mutil_funcs_ } #if !defined AMD64 -extern "C" init_format_jumps(); +extern "C" void init_format_jumps(); #else void init_format_jumps() {