5
* This material is provided "as is", with absolutely no warranty expressed
6
* or implied. Any use is at your own risk.
8
* Permission to use or copy this software for any purpose is hereby granted
9
* without fee, provided the above notices are retained on all copies.
10
* Permission to modify the code and to distribute modified code is granted,
11
* provided the above notices are retained, and a notice that the code was
12
* modified is included with the above copyright notice.
17
* STLport configuration file
18
* It is internal STLport header - DO NOT include it directly
19
* Purpose of this file : to define STLport settings that depend on
20
* compiler flags or can be otherwise missed
24
#ifndef _STLP_CONFIX_H
25
# define _STLP_CONFIX_H
27
/* If, by any chance, C compiler gets there, try to help it to pass smoothly */
28
# if ! defined (__cplusplus) && ! defined (_STLP_HAS_NO_NAMESPACES)
29
# define _STLP_HAS_NO_NAMESPACES
32
# if defined(__MINGW32__)
33
# define _STLP_NO_DRAND48
36
/* Modena C++ library */
37
#if defined (__MWERKS__) && __MWERKS__ <= 0x2303 || (defined (__KCC) && __KCC_VERSION < 3400)
38
# include <mcompile.h>
39
# define _STLP_USE_MSIPL 1
40
# if defined (__KCC) || (defined(__MSL_CPP__) && \
41
( (__MSL_CPP__ >= 0x5000 && defined( _MSL_NO_MESSAGE_FACET )) || \
42
(__MSL_CPP__ < 0x5000 && defined( MSIPL_NL_TYPES ))) \
44
# define _STLP_NO_NATIVE_MESSAGE_FACET 1
48
/* common switches for EDG front-end */
49
# if defined (__EDG_SWITCHES)
50
# if !(defined(_TYPENAME) || defined (_TYPENAME_IS_KEYWORD))
51
# undef _STLP_NEED_TYPENAME
52
# define _STLP_NEED_TYPENAME 1
54
# if !defined(_WCHAR_T_IS_KEYWORD)
55
# undef _STLP_NO_WCHAR_T
56
# define _STLP_NO_WCHAR_T 1
58
# ifndef _PARTIAL_SPECIALIZATION_OF_CLASS_TEMPLATES
59
# undef _STLP_NO_CLASS_PARTIAL_SPECIALIZATION
60
# define _STLP_NO_CLASS_PARTIAL_SPECIALIZATION 1
62
# ifndef _MEMBER_TEMPLATES
63
# undef _STLP_NO_MEMBER_TEMPLATES
64
# define _STLP_NO_MEMBER_TEMPLATES 1
65
# undef _STLP_NO_MEMBER_TEMPLATE_CLASSES
66
# define _STLP_NO_MEMBER_TEMPLATE_CLASSES 1
68
# if !defined(_MEMBER_TEMPLATE_KEYWORD)
69
# undef _STLP_NO_MEMBER_TEMPLATE_KEYWORD
70
# define _STLP_NO_MEMBER_TEMPLATE_KEYWORD 1
72
# if !defined (__EXCEPTIONS) && ! defined (_EXCEPTIONS)
73
# undef _STLP_HAS_NO_EXCEPTIONS
74
# define _STLP_HAS_NO_EXCEPTIONS
76
# undef __EDG_SWITCHES