From a7961b6943a50604767823942056c8ed75ff1484 Mon Sep 17 00:00:00 2001 From: Goraf <22941576+Goraf@users.noreply.github.com> Date: Fri, 19 Jan 2018 17:42:59 +0100 Subject: Gadu-Gadu: unified project --- protocols/Gadu-Gadu/src/libgadu/obsolete.cpp | 8 ++++++++ protocols/Gadu-Gadu/src/stdafx.cpp | 18 ------------------ protocols/Gadu-Gadu/src/stdafx.cxx | 18 ++++++++++++++++++ 3 files changed, 26 insertions(+), 18 deletions(-) delete mode 100644 protocols/Gadu-Gadu/src/stdafx.cpp create mode 100644 protocols/Gadu-Gadu/src/stdafx.cxx (limited to 'protocols/Gadu-Gadu/src') diff --git a/protocols/Gadu-Gadu/src/libgadu/obsolete.cpp b/protocols/Gadu-Gadu/src/libgadu/obsolete.cpp index 3fb2d917fb..f3f2651450 100644 --- a/protocols/Gadu-Gadu/src/libgadu/obsolete.cpp +++ b/protocols/Gadu-Gadu/src/libgadu/obsolete.cpp @@ -31,6 +31,14 @@ /** \cond obsolete */ +#ifdef _MSC_VER +#pragma warning( disable : 4100 ) +#endif // _MSC_VER + +#ifdef _WIN32 +#include "win32.h" +#endif /* _WIN32 */ + #include #include "libgadu.h" diff --git a/protocols/Gadu-Gadu/src/stdafx.cpp b/protocols/Gadu-Gadu/src/stdafx.cpp deleted file mode 100644 index d67a00cb7e..0000000000 --- a/protocols/Gadu-Gadu/src/stdafx.cpp +++ /dev/null @@ -1,18 +0,0 @@ -/* -Copyright (C) 2012-18 Miranda NG team (https://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 "gg.h" diff --git a/protocols/Gadu-Gadu/src/stdafx.cxx b/protocols/Gadu-Gadu/src/stdafx.cxx new file mode 100644 index 0000000000..d67a00cb7e --- /dev/null +++ b/protocols/Gadu-Gadu/src/stdafx.cxx @@ -0,0 +1,18 @@ +/* +Copyright (C) 2012-18 Miranda NG team (https://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 "gg.h" -- cgit v1.2.3