1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/tools/stlport/stl/config/_dm.h Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -0,0 +1,109 @@
1.4 +// STLport configuration file for Digital Mars C++
1.5 +
1.6 +//#define _STLP_VERBOSE
1.7 +
1.8 +#define _STLP_COMPILER "DMC"
1.9 +
1.10 +#if defined (_STLP_VERBOSE)
1.11 +# pragma message __DMC_VERSION_STRING__
1.12 +#endif
1.13 +
1.14 +#if (__DMC__ < 0x846)
1.15 +# error "Digital Mars C++ versions prior to 8.46 are not supported!"
1.16 +#endif
1.17 +
1.18 +#ifndef _CPPUNWIND
1.19 +# define _STLP_NO_EXCEPTIONS
1.20 +#endif
1.21 +#define _STLP_VENDOR_GLOBAL_CSTD
1.22 +
1.23 +//DMC prefer enum to real static const variable because it do not consider
1.24 +//static const as const enough to be used in switch declaration...
1.25 +#define _STLP_STATIC_CONST_INIT_BUG
1.26 +
1.27 +#if !defined (_WIN32)
1.28 +// it's not fully supported on non-Win32 platforms
1.29 +# define _STLP_NO_NATIVE_WIDE_FUNCTIONS
1.30 +#endif
1.31 +
1.32 +/* _STLP_NO_OWN_NAMESPACE is defined because Digital Mars' linker and libarian
1.33 + appear to have problems with STLport namespaces. Summary of the issues:
1.34 +
1.35 + STATIC: Digital Mars' librarian (lib.exe) may fail with "len <= IDMAX" error
1.36 + if _STLP_DEBUG is defined. This is because Digital Mars' librarian uses
1.37 + Microsoft OMF format, which limits identifier length to about 512 bytes.
1.38 + With STLport namespaces, some identifiers such as Category_Map in
1.39 + src/locale_catalog.cpp may exceed the maximum OMF identifier length.
1.40 +
1.41 + DYNAMIC: Export issues with cin, cout, cerr, clog in src/iostream.cpp.
1.42 + Exports in Digital Mars 'def' file must match mangled names in iostream.cpp.
1.43 + With STLport namespaces, the mangled names in the intermediate files no
1.44 + longer match these pre-defined exports. To use STLport dynamic libraries
1.45 + and STLport namespaces with Digital Mars, the pre-defined exports in
1.46 + src/iostream.cpp and the related Digital Mars 'def' files would need to be
1.47 + revised. */
1.48 +#define _STLP_NO_OWN_NAMESPACE 1
1.49 +
1.50 +// select threads strategy
1.51 +#if defined (_MT) && !defined (_NOTHREADS)
1.52 +# define _REENTRANT
1.53 +#else
1.54 +# define _NOTHREADS
1.55 +#endif
1.56 +
1.57 +#ifndef _BOOL_DEFINED
1.58 +# define _STLP_NO_BOOL
1.59 +#else
1.60 +# define _STLP_DONT_USE_BOOL_TYPEDEF
1.61 +#endif
1.62 +
1.63 +#if _INTEGRAL_MAX_BITS >= 64
1.64 +# define _STLP_LONG_LONG long long
1.65 +#endif
1.66 +
1.67 +#define _STLP_DONT_USE_PRIV_NAMESPACE
1.68 +#define _STLP_NO_BAD_ALLOC
1.69 +#define _STLP_THROW_RETURN_BUG
1.70 +
1.71 +#if !defined (_DLL)
1.72 +# undef _STLP_NO_UNEXPECTED_EXCEPT_SUPPORT
1.73 +#endif
1.74 +
1.75 +#define _STLP_USE_ABBREVS
1.76 +#define _STLP_NO_CONTAINERS_EXTENSION
1.77 +#define _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER
1.78 +
1.79 +#define _STLP_EXPORT_DECLSPEC __declspec(dllexport)
1.80 +#define _STLP_IMPORT_DECLSPEC __declspec(dllimport)
1.81 +
1.82 +#define _STLP_CLASS_EXPORT_DECLSPEC __declspec(dllexport)
1.83 +#define _STLP_CLASS_IMPORT_DECLSPEC __declspec(dllimport)
1.84 +
1.85 +#define _STLP_IMPORT_TEMPLATE_KEYWORD __declspec(dllimport)
1.86 +#define _STLP_EXPORT_TEMPLATE_KEYWORD __declspec(dllexport)
1.87 +
1.88 +#if defined (_WINDLL)
1.89 +# define _STLP_DLL
1.90 +#endif
1.91 +#if defined (_DLL)
1.92 +# define _STLP_RUNTIME_DLL
1.93 +#endif
1.94 +#include <stl/config/_detect_dll_or_lib.h>
1.95 +#undef _STLP_RUNTIME_DLL
1.96 +#undef _STLP_DLL
1.97 +
1.98 +#if defined (_STLP_USE_DYNAMIC_LIB)
1.99 +# define _STLP_USE_DECLSPEC 1
1.100 +# if defined (__BUILDING_STLPORT)
1.101 +# define _STLP_CALL __export
1.102 +# else
1.103 +# define _STLP_CALL
1.104 +# endif
1.105 +#else
1.106 +# define _STLP_CALL
1.107 +#endif
1.108 +
1.109 +#include <stl/config/_auto_link.h>
1.110 +
1.111 +# undef __SC__
1.112 +