Permalink
Browse files

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
  • Loading branch information...
1 parent 39ba5f2 commit da336049b3098246ad7b0551720be5362c45ca41 @DarthGandalf DarthGandalf committed Aug 19, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −0 src/Modules.cpp
  2. +0 −2 src/main.cpp
View
@@ -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 !?"
View
@@ -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' },

0 comments on commit da33604

Please sign in to comment.