summaryrefslogtreecommitdiff
path: root/plugins/AutoRun/src/stdafx.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/AutoRun/src/stdafx.h')
-rw-r--r--plugins/AutoRun/src/stdafx.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/plugins/AutoRun/src/stdafx.h b/plugins/AutoRun/src/stdafx.h
index 73bca890b8..b78b19de2b 100644
--- a/plugins/AutoRun/src/stdafx.h
+++ b/plugins/AutoRun/src/stdafx.h
@@ -2,8 +2,6 @@
#include <windows.h>
-#define __NO_CMPLUGIN_NEEDED
-
#include <newpluginapi.h>
#include <m_langpack.h>
#include <m_options.h>
@@ -15,3 +13,10 @@
#define SUB_KEY L"Software\\Microsoft\\Windows\\CurrentVersion\\Run"
#define ModuleName LPGEN("Autorun")
+
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>(ModuleName)
+ {}
+};