Merge pull request #3803 from BOINC/dpa_stdwx_cleanup

client/manager, Win: remove references to _STDWX_H_; not used anymore
This commit is contained in:
Vitalii Koshura 2020-06-08 01:20:40 +02:00 committed by GitHub
commit 4b74ca7ad3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
49 changed files with 48 additions and 157 deletions

View File

@ -82,11 +82,8 @@
// (not counting the part after the last checkpoint in an episode).
#if defined(_WIN32) && !defined(__STDWX_H__) && !defined(_BOINC_WIN_) && !defined(_AFX_STDAFX_H_)
#include "boinc_win.h"
#endif
#ifdef _WIN32
#include "boinc_win.h"
#include "version.h"
#include "win_util.h"
#else

View File

@ -24,11 +24,8 @@
// To use this function, link your application with libboinc_opencl.a
//
#if defined(_WIN32) && !defined(__STDWX_H__) && !defined(_BOINC_WIN_) && !defined(_AFX_STDAFX_H_)
#include "boinc_win.h"
#endif
#ifdef _WIN32
#include "boinc_win.h"
#include "win_util.h"
#else
#include <string>

View File

@ -20,7 +20,7 @@
// Platform-independent code should NOT be here.
//
#if defined(_WIN32) && !defined(__STDWX_H__) && !defined(_BOINC_WIN_) && !defined(_AFX_STDAFX_H_)
#ifdef _WIN32
#include "boinc_win.h"
#else
#include "config.h"

View File

@ -17,7 +17,7 @@
// DEPRECATED - DO NOT USE
#if defined(_WIN32) && !defined(__STDWX_H__) && !defined(_BOINC_WIN_) && !defined(_AFX_STDAFX_H_)
#ifdef _WIN32
#include "boinc_win.h"
#else
#include "config.h"

View File

@ -23,17 +23,11 @@
// DEPRECATED - use separate graphics app
#ifndef _WIN32
#include "config.h"
#endif
#if defined(_WIN32) && !defined(__STDWX_H__) && !defined(_BOINC_WIN_) && !defined(_AFX_STDAFX_H_)
#include "boinc_win.h"
#endif
#ifdef _WIN32
#include "boinc_win.h"
extern void win_graphics_event_loop();
#else
#include "config.h"
#include <cstring>
#include <cstdarg>
#include <pthread.h>

View File

@ -15,7 +15,7 @@
// You should have received a copy of the GNU Lesser General Public License
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
#if defined(_WIN32) && !defined(__STDWX_H__) && !defined(_BOINC_WIN_) && !defined(_AFX_STDAFX_H_)
#ifdef _WIN32
#include "boinc_win.h"
#else
#include "config.h"

View File

@ -17,7 +17,7 @@
// The part of BOINC's graphics utilities that uses GLUT char-drawing
#if defined(_WIN32) && !defined(__STDWX_H__) && !defined(_BOINC_WIN_) && !defined(_AFX_STDAFX_H_)
#ifdef _WIN32
#include "boinc_win.h"
#else
#include "config.h"

View File

@ -17,16 +17,13 @@
// shared-library part of the implementation of REDUCE
#if defined(_WIN32) && !defined(__STDWX_H__) && !defined(_BOINC_WIN_) && !defined(_AFX_STDAFX_H_)
#ifdef _WIN32
#include "boinc_win.h"
#include <GL/gl.h>
#else
#include "config.h"
#endif
#ifdef _WIN32
#include <GL/gl.h>
#endif
#include <algorithm>
#include "boinc_gl.h"

View File

@ -20,7 +20,7 @@
// This writes into a shared-memory structure
// that's read by the graphics app
#if defined(_WIN32) && !defined(__STDWX_H__) && !defined(_BOINC_WIN_) && !defined(_AFX_STDAFX_H_)
#ifdef _WIN32
#include "boinc_win.h"
#else
#include "config.h"

View File

@ -31,7 +31,7 @@
// originally adapted by Carl Christensen
#if defined(_WIN32) && !defined(__STDWX_H__) && !defined(_BOINC_WIN_) && !defined(_AFX_STDAFX_H_)
#ifdef _WIN32
#include "boinc_win.h"
#endif

View File

@ -12,7 +12,7 @@
* Visit My Site At nehe.gamedev.net
* Adapted to BOINC by Eric Heien
*/
#if defined(_WIN32) && !defined(__STDWX_H__) && !defined(_BOINC_WIN_) && !defined(_AFX_STDAFX_H_)
#ifdef _WIN32
#include "boinc_win.h"
#else
#include "config.h"

View File

@ -20,11 +20,8 @@
//
// usage: boinccmd [--host hostname] [--passwd passwd] command
#if defined(_WIN32) && !defined(__STDWX_H__) && !defined(_BOINC_WIN_) && !defined(_AFX_STDAFX_H_)
#include "boinc_win.h"
#endif
#ifdef _WIN32
#include "boinc_win.h"
#include "win_util.h"
#else
#include "config.h"

View File

@ -19,10 +19,6 @@
//
// usage: boinc_log [--host hostname] [--passwd passwd]
#if defined(_WIN32) && !defined(__STDWX_H__) && !defined(_BOINC_WIN_) && !defined(_AFX_STDAFX_H_)
#include "boinc_win.h"
#endif
#if defined(_WIN32) && !defined(__CYGWIN32__)
#define snprintf _snprintf
#define strdate _strdate
@ -31,6 +27,7 @@
#endif
#ifdef _WIN32
#include "boinc_win.h"
#include "win_util.h"
#else
#include "config.h"

View File

@ -15,7 +15,7 @@
// You should have received a copy of the GNU Lesser General Public License
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
#if defined(_WIN32) && !defined(__STDWX_H__) && !defined(_BOINC_WIN_) && !defined(_AFX_STDAFX_H_)
#ifdef _WIN32
#include "boinc_win.h"
#endif

View File

@ -15,7 +15,7 @@
// You should have received a copy of the GNU Lesser General Public License
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
#if defined(_WIN32) && !defined(__STDWX_H__) && !defined(_BOINC_WIN_) && !defined(_AFX_STDAFX_H_)
#ifdef _WIN32
#include "boinc_win.h"
#endif

View File

@ -16,11 +16,8 @@
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
#if defined(_WIN32) && !defined(__STDWX_H__) && !defined(_BOINC_WIN_) && !defined(_AFX_STDAFX_H_)
#include "boinc_win.h"
#endif
#ifdef _WIN32
#include "boinc_win.h"
#include "win_util.h"
#ifndef InternetGetCookie

View File

@ -15,10 +15,8 @@
// You should have received a copy of the GNU Lesser General Public License
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
#if defined(_WIN32) && !defined(__STDWX_H__)
#if defined(_WIN32)
#include "boinc_win.h"
#elif defined(_WIN32) && defined(__STDWX_H__)
#include "stdwx.h"
#else
#include "config.h"
#include <cstring>

View File

@ -15,10 +15,8 @@
// You should have received a copy of the GNU Lesser General Public License
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
#if defined(_WIN32) && !defined(__STDWX_H__)
#if defined(_WIN32)
#include "boinc_win.h"
#elif defined(_WIN32) && defined(__STDWX_H__)
#include "stdwx.h"
#else
#include "config.h"
#endif

View File

@ -15,10 +15,8 @@
// You should have received a copy of the GNU Lesser General Public License
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
#if defined(_WIN32) && !defined(__STDWX_H__)
#ifdef _WIN32
#include "boinc_win.h"
#elif defined(_WIN32) && defined(__STDWX_H__)
#include "stdwx.h"
#else
#include "config.h"
#ifdef _USING_FCGI_
@ -33,10 +31,6 @@
#include "cert_sig.h"
#ifdef _MSC_VER
#define snprintf _snprintf
#endif
CERT_SIG::CERT_SIG() {
this->clear();
}

View File

@ -15,10 +15,8 @@
// You should have received a copy of the GNU Lesser General Public License
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
#if defined(_WIN32) && !defined(__STDWX_H__)
#if defined(_WIN32)
#include "boinc_win.h"
#elif defined(_WIN32) && defined(__STDWX_H__)
#include "stdwx.h"
#else
#ifdef _USING_FCGI_
#include "boinc_fcgi.h"

View File

@ -15,10 +15,8 @@
// You should have received a copy of the GNU Lesser General Public License
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
#if defined(_WIN32) && !defined(__STDWX_H__)
#if defined(_WIN32)
#include "boinc_win.h"
#elif defined(_WIN32) && defined(__STDWX_H__)
#include "stdwx.h"
#else
#include "config.h"
#include <cctype>

View File

@ -15,10 +15,8 @@
// You should have received a copy of the GNU Lesser General Public License
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
#if defined(_WIN32) && !defined(__STDWX_H__)
#if defined(_WIN32)
#include "boinc_win.h"
#elif defined(_WIN32) && defined(__STDWX_H__)
#include "stdwx.h"
#endif
/**

View File

@ -18,10 +18,8 @@
// Stuff related to stderr/stdout direction and exception handling;
// used by both core client and by apps
#if defined(_WIN32) && !defined(__STDWX_H__)
#if defined(_WIN32)
#include "boinc_win.h"
#elif defined(_WIN32) && defined(__STDWX_H__)
#include "stdwx.h"
#endif
#ifdef __EMX__

View File

@ -18,14 +18,8 @@
// Stuff related to catching SEH exceptions, monitoring threads, and trapping
// debugger messages; used by both core client and by apps.
#ifdef _WIN32
#ifndef __STDWX_H__
#include "boinc_win.h"
#else
#include "stdwx.h"
#endif
#include "win_util.h"
#endif
#ifndef __CYGWIN32__
#include "stackwalker_win.h"

View File

@ -15,10 +15,8 @@
// You should have received a copy of the GNU Lesser General Public License
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
#if defined(_WIN32) && !defined(__STDWX_H__)
#if defined(_WIN32)
#include "boinc_win.h"
#elif defined(_WIN32) && defined(__STDWX_H__)
#include "stdwx.h"
#define MAXPATHLEN 4096
#endif

View File

@ -18,12 +18,8 @@
// This file is the underlying mechanism of GUI RPC client
// (not the actual RPCs)
#if defined(_WIN32) && !defined(__STDWX_H__) && !defined(_BOINC_WIN_) && !defined(_AFX_STDAFX_H_)
#include "boinc_win.h"
#endif
#ifdef _WIN32
#include "boinc_win.h"
#include "../version.h"
#ifdef _MSC_VER
#define snprintf _snprintf

View File

@ -41,16 +41,12 @@
// formatting failures for any software that has been localized or
// displays localized data.
#if defined(_WIN32) && !defined(__STDWX_H__) && !defined(_BOINC_WIN_) && !defined(_AFX_STDAFX_H_)
#include "boinc_win.h"
#endif
#ifdef _MSC_VER
#define snprintf _snprintf
#endif
#ifdef _WIN32
#include "boinc_win.h"
#include "../version.h"
#else
#include "config.h"

View File

@ -18,11 +18,8 @@
// This file is code to print (in ASCII) the stuff returned by GUI RPC.
// Used only by boinccmd.
#if defined(_WIN32) && !defined(__STDWX_H__) && !defined(_BOINC_WIN_) && !defined(_AFX_STDAFX_H_)
#if defined(_WIN32)
#include "boinc_win.h"
#endif
#ifdef _WIN32
#include "../version.h"
#else
#include "config.h"

View File

@ -18,10 +18,8 @@
// Write and parse HOST_INFO structures.
// Used by client and GUI
#if defined(_WIN32) && !defined(__STDWX_H__)
#if defined(_WIN32)
#include "boinc_win.h"
#elif defined(_WIN32) && defined(__STDWX_H__)
#include "stdwx.h"
#else
#include "config.h"
#include <cstdio>

View File

@ -15,10 +15,8 @@
// You should have received a copy of the GNU Lesser General Public License
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
#if defined(_WIN32) && !defined(__STDWX_H__)
#if defined(_WIN32)
#include "boinc_win.h"
#elif defined(_WIN32) && defined(__STDWX_H__)
#include "stdwx.h"
#endif
#include "win_util.h"

View File

@ -15,10 +15,8 @@
// You should have received a copy of the GNU Lesser General Public License
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
#if defined(_WIN32) && !defined(__STDWX_H__)
#if defined(_WIN32)
#include "boinc_win.h"
#elif defined(_WIN32) && defined(__STDWX_H__)
#include "stdwx.h"
#else
#include "config.h"
#ifdef _USING_FCGI_

View File

@ -15,10 +15,8 @@
// You should have received a copy of the GNU Lesser General Public License
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
#if defined(_WIN32) && !defined(__STDWX_H__)
#if defined(_WIN32)
#include "boinc_win.h"
#elif defined(_WIN32) && defined(__STDWX_H__)
#include "stdwx.h"
#else
#include "config.h"
#if HAVE_PROCFS_H

View File

@ -15,10 +15,8 @@
// You should have received a copy of the GNU Lesser General Public License
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
#if defined(_WIN32) && !defined(__STDWX_H__)
#if defined(_WIN32)
#include "boinc_win.h"
#elif defined(_WIN32) && defined(__STDWX_H__)
#include "stdwx.h"
#else
#include "config.h"
#include <cstdio>

View File

@ -15,10 +15,8 @@
// You should have received a copy of the GNU Lesser General Public License
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
#if defined(_WIN32) && !defined(__STDWX_H__)
#if defined(_WIN32)
#include "boinc_win.h"
#elif defined(_WIN32) && defined(__STDWX_H__)
#include "stdwx.h"
#else
#include "config.h"
#include <string>

View File

@ -15,11 +15,9 @@
// You should have received a copy of the GNU Lesser General Public License
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
#if defined(_WIN32) && !defined(__STDWX_H__)
#if defined(_WIN32)
#include "boinc_win.h"
#include <fcntl.h>
#elif defined(_WIN32) && defined(__STDWX_H__)
#include "stdwx.h"
#else
#include "config.h"
#if HAVE_UNISTD_H

View File

@ -15,10 +15,8 @@
// You should have received a copy of the GNU Lesser General Public License
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
#if defined(_WIN32) && !defined(__STDWX_H__)
#if defined(_WIN32)
#include "boinc_win.h"
#elif defined(_WIN32) && defined(__STDWX_H__)
#include "stdwx.h"
#endif
#include "error_numbers.h"

View File

@ -15,10 +15,8 @@
// You should have received a copy of the GNU Lesser General Public License
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
#if defined(_WIN32) && !defined(__STDWX_H__)
#if defined(_WIN32)
#include "boinc_win.h"
#elif defined(_WIN32) && defined(__STDWX_H__)
#include "stdwx.h"
#else
#ifdef _USING_FCGI_
#include "boinc_fcgi.h"

View File

@ -24,10 +24,8 @@
//
// 2) a better one (class XML_PARSER) which parses arbitrary XML
#if defined(_WIN32) && !defined(__STDWX_H__)
#if defined(_WIN32)
#include "boinc_win.h"
#elif defined(_WIN32) && defined(__STDWX_H__)
#include "stdwx.h"
#else
#include "config.h"
#include <cstring>

View File

@ -15,10 +15,8 @@
// You should have received a copy of the GNU Lesser General Public License
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
#if defined(_WIN32) && !defined(__STDWX_H__)
#if defined(_WIN32)
#include "boinc_win.h"
#elif defined(_WIN32) && defined(__STDWX_H__)
#include "stdwx.h"
#else
#include "config.h"
#include <cstdio>

View File

@ -18,12 +18,8 @@
#include <vector>
#ifdef _WIN32
#include "diagnostics.h"
#ifdef __STDWX_H__
#include "stdwx.h"
#else
#include "boinc_win.h"
#include "win_util.h"
#endif
#else
#include "config.h"
#include <sys/types.h>

View File

@ -17,11 +17,9 @@
// platform-independent process-enumeration functions
#if defined(_WIN32) && !defined(__STDWX_H__)
#if defined(_WIN32)
#include "boinc_win.h"
#include "win_util.h"
#elif defined(_WIN32) && defined(__STDWX_H__)
#include "stdwx.h"
#else
#include "config.h"
#include <sys/types.h>

View File

@ -15,10 +15,8 @@
// You should have received a copy of the GNU Lesser General Public License
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
#if defined(_WIN32) && !defined(__STDWX_H__)
#if defined(_WIN32)
#include "boinc_win.h"
#elif defined(_WIN32) && defined(__STDWX_H__)
#include "stdwx.h"
#else
#include "config.h"
#include <cstdio>

View File

@ -18,11 +18,7 @@
// Code to run a BOINC application (main or graphics) under Windows
// Don't include this in applications
#if defined(_WIN32) && !defined(__STDWX_H__)
#include "boinc_win.h"
#elif defined(_WIN32) && defined(__STDWX_H__)
#include "stdwx.h"
#endif
#include "win_util.h"
#include "filesys.h"

View File

@ -17,10 +17,8 @@
// interfaces for accessing shared memory segments
#if defined(_WIN32) && !defined(__STDWX_H__)
#if defined(_WIN32)
#include "boinc_win.h"
#elif defined(_WIN32) && defined(__STDWX_H__)
#include "stdwx.h"
#endif
#ifdef _MSC_VER

View File

@ -42,10 +42,8 @@
*//////////////////////////////////////////////////////////////////////////////
#if defined(_WIN32) && !defined(__STDWX_H__)
#if defined(_WIN32)
#include "boinc_win.h"
#elif defined(_WIN32) && defined(__STDWX_H__)
#include "stdwx.h"
#endif
#include "diagnostics.h"

View File

@ -15,10 +15,8 @@
// You should have received a copy of the GNU Lesser General Public License
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
#if defined(_WIN32) && !defined(__STDWX_H__)
#if defined(_WIN32)
#include "boinc_win.h"
#elif defined(_WIN32) && defined(__STDWX_H__)
#include "stdwx.h"
#endif
#ifdef _WIN32
#include "win_util.h"

View File

@ -15,10 +15,8 @@
// You should have received a copy of the GNU Lesser General Public License
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
#if defined(_WIN32) && !defined(__STDWX_H__)
#if defined(_WIN32)
#include "boinc_win.h"
#elif defined(_WIN32) && defined(__STDWX_H__)
#include "stdwx.h"
#else
#include "config.h"
#include <string>

View File

@ -15,12 +15,8 @@
// You should have received a copy of the GNU Lesser General Public License
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
#ifdef _WIN32
#ifndef __STDWX_H__
#if defined(_WIN32)
#include "boinc_win.h"
#else
#include "stdwx.h"
#endif
#include "str_replace.h"
#include "win_util.h"
#endif

View File

@ -15,10 +15,8 @@
// You should have received a copy of the GNU Lesser General Public License
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
#if defined(_WIN32) && !defined(__STDWX_H__)
#if defined(_WIN32)
#include "boinc_win.h"
#elif defined(_WIN32) && defined(__STDWX_H__)
#include "stdwx.h"
#endif
#include "diagnostics.h"