Remove Windows CE support
Windows CE doesn't seem to be supported by Microsoft any longer. Last CE release was in early 2013 and the PocketPC and Smartphone targets supported by wxWidgets are long gone. The build files where already removed in an earlier cleanup this commit removes all files, every #ifdef and all documentation regarding the Windows CE support. Closes https://github.com/wxWidgets/wxWidgets/pull/81
This commit is contained in:
committed by
Vadim Zeitlin
parent
6fbc2bd0b7
commit
8282c1be0f
@@ -23,7 +23,7 @@
|
||||
#if wxUSE_FILE
|
||||
|
||||
// standard
|
||||
#if defined(__WINDOWS__) && !defined(__GNUWIN32__) && !defined(__WXWINCE__)
|
||||
#if defined(__WINDOWS__) && !defined(__GNUWIN32__)
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#define NOSERVICE
|
||||
@@ -46,8 +46,6 @@
|
||||
#define NOCRYPT
|
||||
#define NOMCX
|
||||
|
||||
#elif defined(__WINDOWS__) && defined(__WXWINCE__)
|
||||
#include "wx/msw/missing.h"
|
||||
#elif (defined(__UNIX__) || defined(__GNUWIN32__))
|
||||
#include <unistd.h>
|
||||
#include <time.h>
|
||||
@@ -81,9 +79,7 @@
|
||||
|
||||
#include <stdio.h> // SEEK_xxx constants
|
||||
|
||||
#ifndef __WXWINCE__
|
||||
#include <errno.h>
|
||||
#endif
|
||||
#include <errno.h>
|
||||
|
||||
// Windows compilers don't have these constants
|
||||
#ifndef W_OK
|
||||
@@ -114,10 +110,6 @@
|
||||
#define O_BINARY (0)
|
||||
#endif //__UNIX__
|
||||
|
||||
#ifdef __WXWINCE__
|
||||
#include "wx/msw/private.h"
|
||||
#endif
|
||||
|
||||
// ============================================================================
|
||||
// implementation of wxFile
|
||||
// ============================================================================
|
||||
@@ -175,13 +167,7 @@ bool wxFile::CheckForError(wxFileOffset rc) const
|
||||
if ( rc != -1 )
|
||||
return false;
|
||||
|
||||
const_cast<wxFile *>(this)->m_lasterror =
|
||||
#ifndef __WXWINCE__
|
||||
errno
|
||||
#else
|
||||
::GetLastError()
|
||||
#endif
|
||||
;
|
||||
const_cast<wxFile *>(this)->m_lasterror = errno;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user