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:
psychon
2008-01-18 22:46:40 +00:00
parent 74fb58cce5
commit 1f9e4f9601
4 changed files with 14 additions and 0 deletions
+4
View File
@@ -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
+3
View File
@@ -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
+4
View File
@@ -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
+3
View File
@@ -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