mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 22:35:37 +03:00
Fixed linux build.
This commit is contained in:
parent
46123d359f
commit
f886e69dfb
@ -46,7 +46,6 @@ int main(int argc, char **argv)
|
|||||||
|
|
||||||
#if defined(EMSCRIPTEN)
|
#if defined(EMSCRIPTEN)
|
||||||
COMPILER sc32 = (COMPILER)Compile32;
|
COMPILER sc32 = (COMPILER)Compile32;
|
||||||
//pc_printf = (PRINTF)pc_printf;
|
|
||||||
#else
|
#else
|
||||||
# if defined(__linux__)
|
# if defined(__linux__)
|
||||||
HINSTANCE lib = NULL;
|
HINSTANCE lib = NULL;
|
||||||
|
@ -13,6 +13,7 @@ binary.compiler.defines += [
|
|||||||
'NO_MAIN',
|
'NO_MAIN',
|
||||||
'PAWNC_DLL',
|
'PAWNC_DLL',
|
||||||
'HAVE_STDINT_H',
|
'HAVE_STDINT_H',
|
||||||
|
'_GNU_SOURCE',
|
||||||
]
|
]
|
||||||
|
|
||||||
binary.sources = [
|
binary.sources = [
|
||||||
|
Loading…
Reference in New Issue
Block a user