diff options
Diffstat (limited to 'plugins/HistorySweeperLight/src/stdafx.h')
-rw-r--r-- | plugins/HistorySweeperLight/src/stdafx.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/plugins/HistorySweeperLight/src/stdafx.h b/plugins/HistorySweeperLight/src/stdafx.h index 1293f4ad9f..27d77a69d2 100644 --- a/plugins/HistorySweeperLight/src/stdafx.h +++ b/plugins/HistorySweeperLight/src/stdafx.h @@ -22,14 +22,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define __HISTORYSWEEPERLIGHT_H__
#if !defined( _WIN64 )
- #define _USE_32BIT_TIME_T
+#define _USE_32BIT_TIME_T
#endif
#include <windows.h>
#include <time.h>
-#define __NO_CMPLUGIN_NEEDED
-
#include <win2k.h>
#include <newpluginapi.h>
#include <m_database.h>
@@ -46,8 +44,14 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // Plugin name
#define ModuleName "History Sweeper Light"
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>(ModuleName)
+ {}
+};
+
// main.c
-extern HINSTANCE hInst;
extern LIST<void> g_hWindows;
// options.c
|