mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
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
|
||||
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
|
||||
|
@ -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
|
||||
|
@ -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()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user