Add NULLADDR to prevent dynamic linkage error under Linux

This commit is contained in:
z3APA3A 2017-10-30 18:10:25 +03:00
parent 7ba3e25813
commit ff1a560547

View File

@ -23,6 +23,7 @@
extern "C" {
#endif
static char* NULLADDR="\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0";
static struct pluginlink * pl;
@ -101,6 +102,7 @@ static struct commands transparent_commandhandlers[] = {
#define PLUGINCALL
#endif
PLUGINAPI int PLUGINCALL transparent_plugin (struct pluginlink * pluginlink,
int argc, char** argv){
pl = pluginlink;