From b61cd3d190d40825ec68d4f8b424347028aea80f Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Wed, 21 Nov 2012 16:04:38 +0000 Subject: consistent hash generation fix - part 6 git-svn-id: http://svn.miranda-ng.org/main/trunk@2417 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/VersionInfo/src/common.h | 3 +++ plugins/VersionInfo/src/main.cpp | 5 ----- plugins/VersionInfo/src/stdafx.cpp | 18 ++++++++++++++++++ plugins/VersionInfo/src/utils.cpp | 3 --- 4 files changed, 21 insertions(+), 8 deletions(-) create mode 100644 plugins/VersionInfo/src/stdafx.cpp (limited to 'plugins/VersionInfo/src') 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 . +*/ + +#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" -- cgit v1.2.3