style: Add macros to enable/disable client building features

This commit is contained in:
yuanyuanxiang committed 2026-06-05 00:05:13 +02:00
1 parent fc0be64880
commit ec7cfa1d63
32 files changed
+236 -54

No files matched your search

+7
View File
@@ -2,6 +2,11 @@
#include "Manager.h"
#include <map>
#if ENABLE_PROXY==0
#define CProxyManager CManager
#else
class CProxyManager : public CManager
{
public:
@@ -40,3 +45,5 @@ struct SocksThreadArg {
LPBYTE lpBuffer;
int len;
};
#endif