mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-01-12 06:48:04 +03:00
*** empty log message ***
This commit is contained in:
parent
712859eb20
commit
d038e926fd
Binary file not shown.
@ -251,6 +251,6 @@ for ($i=0; $i<=$#CPP_SOURCE_FILES; $i++)
|
||||
}
|
||||
}
|
||||
|
||||
$gcc = "$gccf $cflags -shared -ldl -lm @LINK -o $outdir/$bin";
|
||||
$gcc = "$gccf $cflags -shared -ldl -lstdc++ -lm @LINK -o $outdir/$bin";
|
||||
print "$gcc\n";
|
||||
`$gcc`;
|
||||
|
@ -33,6 +33,9 @@
|
||||
#define AMXMODX_H
|
||||
|
||||
|
||||
#ifdef __linux__
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#include "string.h"
|
||||
#include <extdll.h>
|
||||
#include <meta_api.h>
|
||||
@ -78,6 +81,7 @@ extern AMX_NATIVE_INFO vault_Natives[];
|
||||
#define DLLOAD(path) (DLHANDLE)LoadLibrary(path)
|
||||
#define DLPROC(m,func) GetProcAddress(m,func)
|
||||
#define DLFREE(m) FreeLibrary(m)
|
||||
extern int errno;
|
||||
#else
|
||||
#define DLLOAD(path) (DLHANDLE)dlopen(path, RTLD_NOW)
|
||||
#define DLPROC(m,func) dlsym(m,func)
|
||||
|
@ -300,7 +300,6 @@ int C_Spawn( edict_t *pent ) {
|
||||
(*a).getMin(),(*a).getMax(),(*a).getFilename());
|
||||
}
|
||||
|
||||
|
||||
RETURN_META_VALUE(MRES_IGNORED, 0);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user