mirror of
https://github.com/znc/znc.git
synced 2026-08-07 09:22:55 +02:00
Fix linkage on cygwin.
ZNC_NO_NEED_TO_DO_ANYTHING_ON_MODULE_CALL_EXITER is required in libznc.dll, but it was defined in main.cpp Again thanks to Lizzy Eilson
This commit is contained in:
@@ -19,6 +19,8 @@ using std::map;
|
||||
using std::set;
|
||||
using std::vector;
|
||||
|
||||
bool ZNC_NO_NEED_TO_DO_ANYTHING_ON_MODULE_CALL_EXITER;
|
||||
|
||||
#ifndef RTLD_LOCAL
|
||||
# define RTLD_LOCAL 0
|
||||
# warning "your crap box doesnt define RTLD_LOCAL !?"
|
||||
|
||||
@@ -35,8 +35,6 @@ static inline int getopt_long(int argc, char * const argv[], const char *optstri
|
||||
}
|
||||
#endif
|
||||
|
||||
bool ZNC_NO_NEED_TO_DO_ANYTHING_ON_MODULE_CALL_EXITER;
|
||||
|
||||
static const struct option g_LongOpts[] = {
|
||||
{ "help", no_argument, 0, 'h' },
|
||||
{ "version", no_argument, 0, 'v' },
|
||||
|
||||
Reference in New Issue
Block a user