1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/tools/stlport/stl/config/_system.h Wed Mar 31 12:33:34 2010 +0100
1.3 @@ -0,0 +1,179 @@
1.4 +/*
1.5 + * Copyright (c) 1997
1.6 + * Moscow Center for SPARC Technology
1.7 + *
1.8 + * Copyright (c) 1999
1.9 + * Boris Fomitchev
1.10 + *
1.11 + * This material is provided "as is", with absolutely no warranty expressed
1.12 + * or implied. Any use is at your own risk.
1.13 + *
1.14 + * Permission to use or copy this software for any purpose is hereby granted
1.15 + * without fee, provided the above notices are retained on all copies.
1.16 + * Permission to modify the code and to distribute modified code is granted,
1.17 + * provided the above notices are retained, and a notice that the code was
1.18 + * modified is included with the above copyright notice.
1.19 + *
1.20 + */
1.21 +
1.22 +/*
1.23 + * Purpose of this file :
1.24 + *
1.25 + * To hold COMPILER-SPECIFIC portion of STLport settings.
1.26 + * In general, user should not edit this file unless
1.27 + * using the compiler not recognized below.
1.28 + *
1.29 + * If your compiler is not being recognized yet,
1.30 + * please look for definitions of macros in stl_mycomp.h,
1.31 + * copy stl_mycomp.h to stl_YOUR_COMPILER_NAME,
1.32 + * adjust flags for your compiler, and add <include config/stl_YOUR_COMPILER_NAME>
1.33 + * to the secton controlled by unique macro defined internaly by your compiler.
1.34 + *
1.35 + * To change user-definable settings, please edit <user_config.h>
1.36 + *
1.37 + */
1.38 +
1.39 +#ifndef __stl_config__system_h
1.40 +#define __stl_config__system_h
1.41 +
1.42 +#if defined (__sun)
1.43 +# include <stl/config/_solaris.h>
1.44 +# if defined (__GNUC__)
1.45 +# include <stl/config/_gcc.h>
1.46 +# elif defined (__SUNPRO_CC)
1.47 +# include <stl/config/_sunprocc.h>
1.48 +/*
1.49 +# ifdef __KCC
1.50 +# include <stl/config/_kai.h>
1.51 +# endif
1.52 +*/
1.53 +# elif defined (__APOGEE__) /* Apogee 4.x */
1.54 +# include <stl/config/_apcc.h>
1.55 +# elif defined (__FCC_VERSION) /* Fujitsu Compiler, v4.0 assumed */
1.56 +# include <stl/config/_fujitsu.h>
1.57 +# endif
1.58 +#elif defined (__hpux)
1.59 +# include <stl/config/_hpux.h>
1.60 +# if defined (__GNUC__)
1.61 +# include <stl/config/_gcc.h>
1.62 +# elif defined (__HP_aCC)
1.63 +# include <stl/config/_hpacc.h>
1.64 +# endif
1.65 +#elif defined (linux) || defined (__linux__)
1.66 +# include <stl/config/_linux.h>
1.67 +/* Intel's icc define __GNUC__! */
1.68 +# if defined (__INTEL_COMPILER)
1.69 +# include <stl/config/_icc.h>
1.70 +# elif defined (__GNUC__)
1.71 +# include <stl/config/_gcc.h>
1.72 +# endif
1.73 +/*
1.74 +# ifdef __KCC
1.75 +# include <stl/config/_kai.h>
1.76 +# endif
1.77 +*/
1.78 +#elif defined (__FreeBSD__)
1.79 +# include <stl/config/_freebsd.h>
1.80 +# if defined (__GNUC__)
1.81 +# include <stl/config/_gcc.h>
1.82 +# endif
1.83 +#elif defined (__OpenBSD__)
1.84 +# include <stl/config/_openbsd.h>
1.85 +# if defined (__GNUC__)
1.86 +# include <stl/config/_gcc.h>
1.87 +# endif
1.88 +#elif defined (N_PLAT_NLM) /* Novell NetWare */
1.89 +# include <stl/config/_netware.h>
1.90 +# ifdef __MWERKS__ /* Metrowerks CodeWarrior */
1.91 +# include <stl/config/_mwccnlm.h>
1.92 +# endif
1.93 +#elif defined (__sgi) /* IRIX? */
1.94 +# define _STLP_PLATFORM "SGI Irix"
1.95 +# if defined (__GNUC__)
1.96 +# include <stl/config/_gcc.h>
1.97 +# else
1.98 +# include <stl/config/_sgi.h>
1.99 +# endif
1.100 +#elif defined (__OS400__) /* AS/400 C++ */
1.101 +# define _STLP_PLATFORM "OS 400"
1.102 +# if defined (__GNUC__)
1.103 +# include <stl/config/_gcc.h>
1.104 +# else
1.105 +# include <stl/config/_as400.h>
1.106 +# endif
1.107 +#elif defined (_AIX)
1.108 +# include <stl/config/_aix.h>
1.109 +# if defined (__xlC__) || defined (__IBMC__) || defined ( __IBMCPP__ )
1.110 + /* AIX xlC, Visual Age C++ , OS-390 C++ */
1.111 +# include <stl/config/_ibm.h>
1.112 +# endif
1.113 +#elif defined (_CRAY) /* Cray C++ 3.4 or 3.5 */
1.114 +# define _STLP_PLATFORM "Cray"
1.115 +# include <config/_cray.h>
1.116 +#elif defined (__DECCXX) || defined (__DECC)
1.117 +# define _STLP_PLATFORM "DECC"
1.118 +# ifdef __vms
1.119 +# include <stl/config/_dec_vms.h>
1.120 +# else
1.121 +# include <stl/config/_dec.h>
1.122 +# endif
1.123 +#elif defined (macintosh) || defined (_MAC)
1.124 +# include <stl/config/_mac.h>
1.125 +# if defined (__MWERKS__)
1.126 +# include <stl/config/_mwerks.h>
1.127 +# elif defined (__MRC__) || (defined (__SC__) && (__SC__ >= 0x882))
1.128 + /* Apple MPW SCpp 8.8.2, Apple MPW MrCpp 4.1.0 */
1.129 +# include <stl/config/_apple.h>
1.130 +# endif
1.131 +#elif defined (__APPLE__)
1.132 +# include <stl/config/_macosx.h>
1.133 +# ifdef __GNUC__
1.134 +# include <stl/config/_gcc.h>
1.135 +# endif
1.136 +#elif defined (__CYGWIN__)
1.137 +# include <stl/config/_cygwin.h>
1.138 +# if defined (__GNUC__)
1.139 +# include <stl/config/_gcc.h>
1.140 +# endif
1.141 +#elif defined (__MINGW32__)
1.142 +# define _STLP_PLATFORM "MinGW"
1.143 +# if defined (__GNUC__)
1.144 +# include <stl/config/_gcc.h>
1.145 +# endif
1.146 +# include <stl/config/_windows.h>
1.147 +#elif defined (_WIN32) || defined (__WIN32) || defined (WIN32) || defined (__WIN32__) || \
1.148 + defined (__WIN16) || defined (WIN16) || defined (_WIN16)
1.149 +# if defined ( __BORLANDC__ ) /* Borland C++ ( 4.x - 5.x ) */
1.150 +# include <stl/config/_bc.h>
1.151 +# elif defined (__WATCOM_CPLUSPLUS__) || defined (__WATCOMC__) /* Watcom C++ */
1.152 +# include <stl/config/_watcom.h>
1.153 +# elif defined (__COMO__) || defined (__COMO_VERSION_)
1.154 +# include <stl/config/_como.h>
1.155 +# elif defined (__DMC__) /* Digital Mars C++ */
1.156 +# include <stl/config/_dm.h>
1.157 +# elif defined (__SC__) && (__SC__ < 0x800) /* Symantec 7.5 */
1.158 +# include <stl/config/_symantec.h>
1.159 +# elif defined (__ICL) /* Intel reference compiler for Win */
1.160 +# include <stl/config/_intel.h>
1.161 +# elif defined (__MWERKS__)
1.162 +# include <stl/config/_mwerks.h>
1.163 +# elif defined (_MSC_VER) && (_MSC_VER >= 1200) && defined (UNDER_CE)
1.164 + /* Microsoft eMbedded Visual C++ 3.0, 4.0 (.NET) */
1.165 +# include <stl/config/_evc.h>
1.166 +# elif defined (_MSC_VER)
1.167 + /* Microsoft Visual C++ 6.0, 7.0, 7.1, 8.0 */
1.168 +# include <stl/config/_msvc.h>
1.169 +# endif
1.170 +
1.171 +# include <stl/config/_windows.h>
1.172 +#else
1.173 +# error Unknown platform !!
1.174 +#endif
1.175 +
1.176 +#if !defined (_STLP_COMPILER)
1.177 +/* Unable to identify the compiler, issue error diagnostic.
1.178 + * Edit <config/stl_mycomp.h> to set STLport up for your compiler. */
1.179 +# include <stl/config/stl_mycomp.h>
1.180 +#endif
1.181 +
1.182 +#endif /* __stl_config__system_h */