mirror of
https://github.com/znc/znc.git
synced 2026-08-07 09:22:55 +02:00
Save some space for --disable-modules by not compiling template and http socks
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@927 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
* by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#ifdef _MODULES
|
||||
|
||||
#include "HTTPSock.h"
|
||||
#include "znc.h"
|
||||
|
||||
@@ -389,3 +391,5 @@ Csock* CHTTPSock::GetSockObj(const CString& sHost, unsigned short uPort) {
|
||||
|
||||
return pSock;
|
||||
}
|
||||
|
||||
#endif // _MODULES
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
* by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#ifdef _MODULES
|
||||
|
||||
#ifndef _HTTPSOCK_H
|
||||
#define _HTTPSOCK_H
|
||||
|
||||
@@ -86,3 +88,4 @@ protected:
|
||||
|
||||
#endif // !_HTTPSOCK_H
|
||||
|
||||
#endif // _MODULES
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
* by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#ifdef _MODULES
|
||||
|
||||
#include "Template.h"
|
||||
#include "FileUtils.h"
|
||||
|
||||
@@ -476,3 +478,5 @@ CString CTemplate::GetValue(const CString& sArgs) {
|
||||
|
||||
return sRet;
|
||||
}
|
||||
|
||||
#endif // _MODULES
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
* by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#ifdef _MODULES
|
||||
|
||||
#ifndef _TEMPLATE_H
|
||||
#define _TEMPLATE_H
|
||||
|
||||
@@ -114,3 +116,4 @@ protected:
|
||||
|
||||
#endif // !_TEMPLATE_H
|
||||
|
||||
#endif // _MODULES
|
||||
|
||||
Reference in New Issue
Block a user