summaryrefslogtreecommitdiff
path: root/plugins/Console/src/stdafx.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Console/src/stdafx.h')
-rw-r--r--plugins/Console/src/stdafx.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/plugins/Console/src/stdafx.h b/plugins/Console/src/stdafx.h
index b50f7c2d07..5465616407 100644
--- a/plugins/Console/src/stdafx.h
+++ b/plugins/Console/src/stdafx.h
@@ -28,8 +28,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <commctrl.h>
#include <malloc.h>
-#define __NO_CMPLUGIN_NEEDED
-
#include <newpluginapi.h>
#include <win2k.h>
#include <m_netlib.h>
@@ -46,7 +44,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "resource.h"
#include "version.h"
-extern HINSTANCE hInst;
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>("Console")
+ {}
+};
void InitConsole();
void ShutdownConsole();