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:
prozacx
2005-09-06 22:49:15 +00:00
parent ab6dc95d16
commit 750cb398e4
+2
View File
@@ -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)