summaryrefslogtreecommitdiff
path: root/plugins/Spamotron/src
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-07-31 18:36:43 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-07-31 18:36:43 +0000
commit2614e3d766e7d69407cf6f9f4ece54d8a8fbe13f (patch)
tree13ff122087bb17e8cbcc3c50e9345dffb3b9ecbe /plugins/Spamotron/src
parent29c9f860fa28228dac98f810f0305a6d74f8a7f5 (diff)
Spamotron: common project
git-svn-id: http://svn.miranda-ng.org/main/trunk@14769 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Spamotron/src')
-rw-r--r--plugins/Spamotron/src/bayes.cpp2
-rw-r--r--plugins/Spamotron/src/options.cpp2
-rw-r--r--plugins/Spamotron/src/popups.cpp2
-rw-r--r--plugins/Spamotron/src/spamotron.cpp2
-rw-r--r--plugins/Spamotron/src/sqlite3/sqlite3.c1
-rw-r--r--plugins/Spamotron/src/stdafx.cxx (renamed from plugins/Spamotron/src/stdafx.cpp)2
-rw-r--r--plugins/Spamotron/src/stdafx.h (renamed from plugins/Spamotron/src/common.h)2
-rw-r--r--plugins/Spamotron/src/utils.cpp2
8 files changed, 6 insertions, 9 deletions
diff --git a/plugins/Spamotron/src/bayes.cpp b/plugins/Spamotron/src/bayes.cpp
index 1b79ccf76a..d62df44481 100644
--- a/plugins/Spamotron/src/bayes.cpp
+++ b/plugins/Spamotron/src/bayes.cpp
@@ -1,4 +1,4 @@
-#include "common.h"
+#include "stdafx.h"
#include "io.h"
#define DELIMS " ,.;!?@-\\/+&\x0D\x0A"
diff --git a/plugins/Spamotron/src/options.cpp b/plugins/Spamotron/src/options.cpp
index 24183ba492..3e204e11d0 100644
--- a/plugins/Spamotron/src/options.cpp
+++ b/plugins/Spamotron/src/options.cpp
@@ -1,4 +1,4 @@
-#include "common.h"
+#include "stdafx.h"
TCHAR currentResponse[256] = {0};
diff --git a/plugins/Spamotron/src/popups.cpp b/plugins/Spamotron/src/popups.cpp
index 9a5d8b889f..46289ac9af 100644
--- a/plugins/Spamotron/src/popups.cpp
+++ b/plugins/Spamotron/src/popups.cpp
@@ -1,4 +1,4 @@
-#include "common.h"
+#include "stdafx.h"
extern BOOL _saveDlgItemInt(HWND hDialog, int controlID, char* option);
diff --git a/plugins/Spamotron/src/spamotron.cpp b/plugins/Spamotron/src/spamotron.cpp
index c0d76a9a9f..0528c44033 100644
--- a/plugins/Spamotron/src/spamotron.cpp
+++ b/plugins/Spamotron/src/spamotron.cpp
@@ -1,4 +1,4 @@
-#include "common.h"
+#include "stdafx.h"
CLIST_INTERFACE *pcli;
HINSTANCE hInst;
diff --git a/plugins/Spamotron/src/sqlite3/sqlite3.c b/plugins/Spamotron/src/sqlite3/sqlite3.c
index d9b165f088..074cdf9ba1 100644
--- a/plugins/Spamotron/src/sqlite3/sqlite3.c
+++ b/plugins/Spamotron/src/sqlite3/sqlite3.c
@@ -19,7 +19,6 @@
**
** This amalgamation was generated on 2009-04-15 12:44:27 UTC.
*/
-#define _CRT_SECURE_NO_WARNINGS
#define SQLITE_CORE 1
#define SQLITE_AMALGAMATION 1
diff --git a/plugins/Spamotron/src/stdafx.cpp b/plugins/Spamotron/src/stdafx.cxx
index c5fe5abaad..6fb37564b7 100644
--- a/plugins/Spamotron/src/stdafx.cpp
+++ b/plugins/Spamotron/src/stdafx.cxx
@@ -15,4 +15,4 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "common.h" \ No newline at end of file
+#include "stdafx.h" \ No newline at end of file
diff --git a/plugins/Spamotron/src/common.h b/plugins/Spamotron/src/stdafx.h
index acdc965c80..f580427752 100644
--- a/plugins/Spamotron/src/common.h
+++ b/plugins/Spamotron/src/stdafx.h
@@ -1,5 +1,3 @@
-#define _CRT_SECURE_NO_WARNINGS
-
#include <windows.h>
#include <commctrl.h>
#include <stdlib.h>
diff --git a/plugins/Spamotron/src/utils.cpp b/plugins/Spamotron/src/utils.cpp
index 98e1fa2901..c4512e7be8 100644
--- a/plugins/Spamotron/src/utils.cpp
+++ b/plugins/Spamotron/src/utils.cpp
@@ -1,4 +1,4 @@
-#include "common.h"
+#include "stdafx.h"
#include <locale.h>