11#define _STLP_COMPILER "eMbedded Visual C++"
29# define _STLP_WCE_NET UNDER_CE
30#elif (_WIN32_WCE == 300)
31# define _STLP_WCE_EVC3 UNDER_CE
33# error No support for Windows CE below 3.0!
41#define _STLP_LITTLE_ENDIAN
44#if defined (DEBUG) && !defined (_DEBUG)
52#define _STLP_NO_LOCALE_SUPPORT
56# define _STLP_VENDOR_TERMINATE_STD _STLP_VENDOR_STD
57# define _STLP_VENDOR_UNCAUGHT_EXCEPTION_STD _STLP_VENDOR_STD
59# define _STLP_GLOBAL_NEW_HANDLER 1
68#undef _STLP_USING_CROSS_NATIVE_RUNTIME_LIB
72# define _STLP_NO_LONG_DOUBLE
76#define _STLP_NO_VENDOR_MATH_F
77#define _STLP_NO_VENDOR_MATH_L
98# define _STLP_USE_WIDE_INTERFACE
102#if defined (__cplusplus) && !defined (_STLP_HAS_NO_NAMESPACES)
103# ifdef _STLP_VENDOR_EXCEPT_STD
104# undef _STLP_VENDOR_EXCEPT_STD
106# define _STLP_VENDOR_EXCEPT_STD std
110#if _MSC_VER < 1400 && (defined (ARM) || defined (_ARM_))
111# define _STLP_DONT_USE_SHORT_STRING_OPTIM
115#if !defined (__BUILDING_STLPORT) && defined (_MFC_VER)
116# define __PLACEMENT_NEW_INLINE
125#undef _STLP_NO_NEW_C_HEADERS
126#define _STLP_NO_NEW_C_HEADERS
129#if defined (_STLP_WCE_EVC3) || !defined (_CPPUNWIND)
130# define _STLP_NO_EXCEPTION_HEADER
131# define _STLP_NO_EXCEPTIONS
132# undef _STLP_USE_EXCEPTIONS
133# ifndef _STLP_THROW_BAD_ALLOC
134# define _STLP_THROW_BAD_ALLOC { _STLP_WINCE_TRACE(L"out of memory"); ExitThread(1); }
138#define _STLP_WINCE_TRACE(msg) OutputDebugString(msg)
143#if defined (_STLP_WCE_NET)
146# define _STLP_NO_LOCALE_SUPPORT
147# define _STLP_NO_TIME_SUPPORT
150# ifndef _PTRDIFF_T_DEFINED
152# define _PTRDIFF_T_DEFINED
162# if !defined (_STLP_NATIVE_INCLUDE_PATH)
164# if defined (_STLP_WCE_TARGET_PROC_SUBTYPE_EMULATOR)
165# define _STLP_NATIVE_INCLUDE_PATH ../Emulator
167# define _STLP_NATIVE_INCLUDE_PATH ../X86
169# elif defined (_ARM_)
173# define _STLP_NATIVE_INCLUDE_PATH ../Armv4
174# elif defined (ARMV4I)
175# define _STLP_NATIVE_INCLUDE_PATH ../Armv4i
176# elif defined (ARMV4T)
177# define _STLP_NATIVE_INCLUDE_PATH ../Armv4t
179# error Unknown ARM SDK.
185# if defined(WIN32_PLATFORM_PSPC)
186# define _STLP_NATIVE_INCLUDE_PATH ../Include
188# define _STLP_NATIVE_INCLUDE_PATH ../Armv4
190# elif defined(ARMV4I) || defined(ARMV4T)
191# define _STLP_NATIVE_INCLUDE_PATH ../Armv4i
193# error Unknown ARM SDK.
196# elif defined (_MIPS_)
198# define _STLP_NATIVE_INCLUDE_PATH ../mips16
199# elif defined (MIPSII)
200# define _STLP_NATIVE_INCLUDE_PATH ../mipsII
201# elif defined (MIPSII_FP)
202# define _STLP_NATIVE_INCLUDE_PATH ../mipsII_fp
203# elif defined (MIPSIV)
204# define _STLP_NATIVE_INCLUDE_PATH ../mipsIV
205# elif defined (MIPSIV_FP)
206# define _STLP_NATIVE_INCLUDE_PATH ../mipsIV_fp
208# error Unknown MIPS SDK.
212# define _STLP_NATIVE_INCLUDE_PATH ../sh3
214# define _STLP_NATIVE_INCLUDE_PATH ../sh4
216# error Unknown SHx SDK.
229# define __PLACEMENT_NEW_INLINE
237#if defined (_STLP_WCE_EVC3)
239# define _STLP_NO_NATIVE_MBSTATE_T
242# define _STLP_NO_LOCALE_SUPPORT
243# define _STLP_NO_TIME_SUPPORT
246# define _STLP_NO_NEW_HEADER
247# define _STLP_NO_NEW_NEW_HEADER
250# undef _STLP_NO_BAD_ALLOC
251# define _STLP_NO_BAD_ALLOC
253# undef _STLP_NO_TYPEINFO
254# define _STLP_NO_TYPEINFO
257# ifndef _SIZE_T_DEFINED
258 typedef unsigned int size_t;
259# define _SIZE_T_DEFINED
262# ifndef _WCHAR_T_DEFINED
263 typedef unsigned short wchar_t;
264# define _WCHAR_T_DEFINED
268# ifndef _PTRDIFF_T_DEFINED
270# define _PTRDIFF_T_DEFINED
274# ifndef _CLOCK_T_DEFINED
276# define _CLOCK_T_DEFINED
299# ifndef __PLACEMENT_NEW_INLINE
301inline void *
__cdecl operator new(
size_t,
void *_P) {
return (_P); }
303inline void __cdecl operator delete(
void *,
void *) {
return; }
304# define __PLACEMENT_NEW_INLINE
309# define _STLP_NO_NATIVE_WIDE_FUNCTIONS
312# ifndef _ASSERT_DEFINED
313# define assert(expr) _STLP_ASSERT(expr)
314# define _ASSERT_DEFINED
325#ifndef _ABORT_DEFINED
326# define _STLP_ABORT() TerminateProcess(reinterpret_cast<HANDLE>(66), 0)
327# define _ABORT_DEFINED
__kernel_ptrdiff_t ptrdiff_t