compilable now o_O
This commit is contained in:
parent
ac5d87b2c2
commit
f1a4cfee61
Binary file not shown.
|
@ -45,6 +45,7 @@ ifeq "$(AMD64)" "true"
|
||||||
else
|
else
|
||||||
BINARY = $(NAME)_i386.so
|
BINARY = $(NAME)_i386.so
|
||||||
OBJECTS += JIT/amxexecn.o JIT/amxjitsn.o JIT/natives-x86.o
|
OBJECTS += JIT/amxexecn.o JIT/amxjitsn.o JIT/natives-x86.o
|
||||||
|
OBJECTS += JIT/helpers-x86.o
|
||||||
CFLAGS += -DPAWN_CELL_SIZE=32 -DJIT -DASM32
|
CFLAGS += -DPAWN_CELL_SIZE=32 -DJIT -DASM32
|
||||||
OPT_FLAGS += -march=i586
|
OPT_FLAGS += -march=i586
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -8,7 +8,11 @@
|
||||||
section .text
|
section .text
|
||||||
|
|
||||||
%ifdef LINUX
|
%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
|
%endif
|
||||||
|
|
||||||
extern _LogError, _get_amxstring_r, __snprintf, _MNF_GetAmxString
|
extern _LogError, _get_amxstring_r, __snprintf, _MNF_GetAmxString
|
||||||
|
|
|
@ -1145,7 +1145,7 @@ C_DLLEXPORT int Meta_Query(char *ifvers, plugin_info_t **pPlugInfo, mutil_funcs_
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !defined AMD64
|
#if !defined AMD64
|
||||||
extern "C" init_format_jumps();
|
extern "C" void init_format_jumps();
|
||||||
#else
|
#else
|
||||||
void init_format_jumps()
|
void init_format_jumps()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user