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:
Alexey Sokolov
2012-08-19 16:29:54 +07:00
parent 39ba5f28ea
commit da336049b3
2 changed files with 2 additions and 2 deletions

View File

@@ -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 !?"