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

+4
View File
@@ -10,6 +10,9 @@
#endif // _MSC_VER > 1000
#include "Manager.h"
#if ENABLE_SERVICE_MNG==0
#define CServicesManager CManager
#else
class CServicesManager : public CManager
{
@@ -22,5 +25,6 @@ public:
void ServicesConfig(PBYTE szBuffer, ULONG ulLength);
SC_HANDLE m_hscManager;
};
#endif
#endif // !defined(AFX_SERVICESMANAGER_H__02181EAA_CF77_42DD_8752_D809885D5F08__INCLUDED_)