aboutsummaryrefslogtreecommitdiff
path: root/dep/ACE_wrappers/ace/config-WinCE.h
diff options
context:
space:
mode:
Diffstat (limited to 'dep/ACE_wrappers/ace/config-WinCE.h')
-rw-r--r--dep/ACE_wrappers/ace/config-WinCE.h48
1 files changed, 0 insertions, 48 deletions
diff --git a/dep/ACE_wrappers/ace/config-WinCE.h b/dep/ACE_wrappers/ace/config-WinCE.h
index 83db197b8e4..754899960eb 100644
--- a/dep/ACE_wrappers/ace/config-WinCE.h
+++ b/dep/ACE_wrappers/ace/config-WinCE.h
@@ -1,28 +1,21 @@
// $Id: config-WinCE.h 81693 2008-05-14 12:35:01Z johnnyw $
-
// Note: For WinCE build, simply use: #include "ace/config-win32.h"
// It is same as config.h for Windows NT/2k so that you can
// share same files and directories for both WinCE and NT/2k
// builds, unless you add additional definition(s) for each
// specific build or change the output directory.
-
#ifndef ACE_CONFIG_WINCE_H
#define ACE_CONFIG_WINCE_H
-
#include /**/ "ace/pre.h"
-
#ifndef ACE_CONFIG_WIN32_H
# error Use config-win32.h in config.h instead of this header
#endif // ACE_CONFIG_WIN32_H
-
#if !defined (UNDER_CE)
# error Define UNDER_CE to version (i.e. 300 = 3.0)
#endif // UNDER_CE
-
#if (UNDER_CE < 300)
# error ACE requires Windows CE 3.0 and later.
#endif // UNDER_CE
-
#if (UNDER_CE < 400)
// CE 3 doesn't have Winsock 2, but CE 4 does.
# if !defined (ACE_HAS_WINSOCK2)
@@ -35,11 +28,9 @@
# define ACE_LACKS_STDDEF_H
# define ACE_LACKS_PTRDIFF_T
#endif /* UNDER_CE < 400 */
-
#if !defined (ACE_HAS_WINCE)
# define ACE_HAS_WINCE 1
#endif
-
#if defined (_MSC_VER) && (_MSC_VER < 1400)
// WinCE prior to Visual Studio 2005 integration doesn't have most of
// the standard C library time functions. It also doesn't define struct tm.
@@ -48,22 +39,18 @@
// from the standard C library.
# define ACE_LACKS_STRUCT_TM
#endif
-
// We need these libraries to build:
#pragma comment(lib,"corelibc.lib")
#pragma comment(linker, "/nodefaultlib:oldnames.lib")
-
// Only DLL version is supported on CE.
//#if defined (ACE_HAS_DLL)
//# undef ACE_HAS_DLL
//#endif // ACE_HAS_DLL
//#define ACE_HAS_DLL 1
-
// Need to define LD search path explicitly on CE because
// CE doesn't have environment variables and we can't get
// the information using getenv.
#define ACE_DEFAULT_LD_SEARCH_PATH ACE_TEXT (".\\;\\windows")
-
#define ACE_LACKS_FCNTL_H
#define ACE_LACKS_SYS_TYPES_H
#define ACE_LACKS_GETCWD
@@ -80,77 +67,57 @@
#define ACE_LACKS_GETPROCESSTIMES
#define ACE_LACKS_PDH_H
#define ACE_LACKS_PDHMSG_H
-
#define ACE_HAS_POSITION_INDEPENDENT_POINTERS 1
-
#define ACE_LACKS_MSG_WFMO
#define ACE_LACKS_UMASK
-
// WinCE only supports the UNICODE API
#if !defined (ACE_USES_WCHAR)
# define ACE_USES_WCHAR
#endif /* ACE_USES_WCHAR */
-
#define ACE_USES_WINCE_SEMA_SIMULATION
-
#define ACE_HAS_NONSTATIC_OBJECT_MANAGER 1
-
// FILE stuff isn't always defined in CE
#if (_MSC_VER < 1400) && !defined (_FILE_DEFINED)
typedef void FILE;
# define _FILE_DEFINED
#endif /* _MSC_VER < 1400 && !_FILE_DEFINED */
-
// This was defined in previous versions of CE, but not 2.11
#define EXCEPTION_ACCESS_VIOLATION STATUS_ACCESS_VIOLATION
-
#define ACE_MAIN WINAPI WinMain
-
// SH3 cross-compiler can't handle inline functions correctly
// (along with other bugs.)
#if defined (SH3)
# define ACE_LACKS_INLINE_FUNCTIONS
#endif // SH3 && _DEBUG
-
#ifndef ACE_DEFAULT_SERVER_HOST
# define ACE_DEFAULT_SERVER_HOST ACE_TEXT("localhost")
#endif // ACE_DEFAULT_SERVER_HOST
-
// @@ Need to remap every function that uses any of these flags to
// Win32 API. These are for ANSI styled function and are not
// available on WinCE.
-
#define _O_RDONLY 0x0000 // open for reading only
#define _O_WRONLY 0x0001 // open for writing only
#define _O_RDWR 0x0002 // open for reading and writing
#define _O_APPEND 0x0008 // writes done at eof
-
#define _O_CREAT 0x0100 // create and open file
#define _O_TRUNC 0x0200 // open and truncate
#define _O_EXCL 0x0400 // open only if file doesn't already exist
-
// O_TEXT files have <cr><lf> sequences translated to <lf> on read()'s,
// and <lf> sequences translated to <cr><lf> on write()'s
#define _O_TEXT 0x4000 // file mode is text (translated)
#define _O_BINARY 0x8000 // file mode is binary (untranslated)
-
// macro to translate the C 2.0 name used to force binary mode for files
//#define _O_RAW _O_BINARY
-
// Open handle inherit bit
//#define _O_NOINHERIT 0x0080 // child process doesn't inherit file
-
// Temporary file bit - file is deleted when last handle is closed
#define _O_TEMPORARY 0x0040 // temporary file bit
-
// temporary access hint
//#define _O_SHORT_LIVED 0x1000 // temporary storage file, try not to flush
-
// sequential/random access hints
//#define _O_SEQUENTIAL 0x0020 // file access is primarily sequential
//#define _O_RANDOM 0x0010 // file access is primarily random
-
// Non-ANSI names
#define O_RDONLY _O_RDONLY
#define O_WRONLY _O_WRONLY
@@ -167,16 +134,13 @@
//#define O_SEQUENTIAL _O_SEQUENTIAL
//#define O_RANDOM _O_RANDOM
-
// @@ NSIG value. This is definitely not correct.
#define NSIG 23
-
// @@ For some reason, WinCE forgot to define this.
// Need to find out what it is. (Used in MapViewOfFile ().)
#define FILE_MAP_COPY 0
-
#define ACE_LACKS_STRCASECMP // WinCE doesn't support _stricmp
#define ACE_LACKS_GETSERVBYNAME
#define ACE_LACKS_ACCESS
@@ -191,7 +155,6 @@
#define ACE_LACKS_SYSTEM
#define ACE_LACKS_SIGACTION
#define ACE_LACKS_PIPE
-
//#define ACE_LACKS_CUSERID
//#define ACE_LACKS_CHDIR
#define ACE_LACKS_ENV
@@ -202,40 +165,29 @@
#define ACE_LACKS_TEMPNAM
#define ACE_LACKS_GETPROTOBYNUMBER
#define ACE_LACKS_GETPROTOBYNAME
-
#if defined (_WIN32_WCE_EMULATION)
// @@ For some reason, qsort isn't defined correctly (_stdcall vs _cdecl)
// under emulation. So for right now, exclude it.
# define ACE_LACKS_QSORT
#endif // _WIN32_WCE_EMULATION
-
#if !defined (BUFSIZ)
# define BUFSIZ 1024
#endif
-
typedef void (__cdecl * __sighandler_t)(int); // keep Signal compilation happy
typedef long off_t;
-
#define ACE_LACKS_MALLOC_H // We do have malloc.h, but don't use it.
-
#define ACE_HAS_WINCE_BROKEN_ERRNO
-
#define ACE_HAS_STRDUP_EMULATION
-
// WinCE can't do fixed addresses for memory-mapped files.
#if defined (ACE_DEFAULT_BASE_ADDR)
# undef ACE_DEFAULT_BASE_ADDR
#endif
#define ACE_DEFAULT_BASE_ADDR 0
-
#define ACE_HAS_TSS_EMULATION
-
// This is still true up thru VC8...
#define ACE_LACKS_ERRNO_H
#define ACE_LACKS_SIGNAL_H
#define ACE_LACKS_SYS_STAT_H
-
#include /**/ "ace/post.h"
-
#endif // ACE_CONFIG_WINCE_H