mirror of
https://github.com/znc/znc.git
synced 2026-07-01 15:31:52 +02:00
Only error if REQUIRESSL is set *and* HAVE_LIBSSL is not set
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@462 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -11,12 +11,14 @@ using std::set;
|
||||
|
||||
// User Module Macros
|
||||
#ifdef REQUIRESSL
|
||||
#ifndef HAVE_LIBSSL
|
||||
#error -
|
||||
#error -
|
||||
#error This module only works when znc is compiled with OpenSSL support
|
||||
#error -
|
||||
#error -
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define MODCONSTRUCTOR(CLASS) \
|
||||
CLASS(void *pDLL, CUser* pUser, const CString& sModName) : CModule(pDLL, pUser, sModName)
|
||||
|
||||
Reference in New Issue
Block a user