summaryrefslogtreecommitdiff
path: root/plugins/VersionInfo/src
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-11-21 16:04:38 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-11-21 16:04:38 +0000
commitb61cd3d190d40825ec68d4f8b424347028aea80f (patch)
treeb0a03aae6d829ce1e1ded92de5b93401cf51b239 /plugins/VersionInfo/src
parent02ee191a693f13f868c67dd548114375af13f261 (diff)
consistent hash generation fix - part 6
git-svn-id: http://svn.miranda-ng.org/main/trunk@2417 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/VersionInfo/src')
-rw-r--r--plugins/VersionInfo/src/common.h3
-rw-r--r--plugins/VersionInfo/src/main.cpp5
-rw-r--r--plugins/VersionInfo/src/stdafx.cpp18
-rw-r--r--plugins/VersionInfo/src/utils.cpp3
4 files changed, 21 insertions, 8 deletions
diff --git a/plugins/VersionInfo/src/common.h b/plugins/VersionInfo/src/common.h
index 3182abc660..20d48e5f3b 100644
--- a/plugins/VersionInfo/src/common.h
+++ b/plugins/VersionInfo/src/common.h
@@ -18,6 +18,9 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#define STRICT
+#define WIN32_LEAN_AND_MEAN
+
#ifndef M_VERSIONINFO_COMMON_H
#define M_VERSIONINFO_COMMON_H
diff --git a/plugins/VersionInfo/src/main.cpp b/plugins/VersionInfo/src/main.cpp
index 53c75be86f..91e29e650e 100644
--- a/plugins/VersionInfo/src/main.cpp
+++ b/plugins/VersionInfo/src/main.cpp
@@ -18,11 +18,6 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define STRICT
-#define WIN32_LEAN_AND_MEAN
-
-#define _CRT_SECURE_NO_DEPRECATE
-
#include "common.h"
#include "CVersionInfo.h"
diff --git a/plugins/VersionInfo/src/stdafx.cpp b/plugins/VersionInfo/src/stdafx.cpp
new file mode 100644
index 0000000000..7a516adf58
--- /dev/null
+++ b/plugins/VersionInfo/src/stdafx.cpp
@@ -0,0 +1,18 @@
+/*
+Copyright (C) 2012 Miranda NG team (http://miranda-ng.org)
+
+This program is free software; you can redistribute it and/or
+modify it under the terms of the GNU General Public License
+as published by the Free Software Foundation version 2
+of the License.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+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
diff --git a/plugins/VersionInfo/src/utils.cpp b/plugins/VersionInfo/src/utils.cpp
index 9be552c8cc..bb63a3cf3f 100644
--- a/plugins/VersionInfo/src/utils.cpp
+++ b/plugins/VersionInfo/src/utils.cpp
@@ -20,9 +20,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
//#define USE_LOG_FUNCTIONS
-#define STRICT
-#define WIN32_LEAN_AND_MEAN
-
#include "common.h"
#include "utils.h"