X-Git-Url: http://git.buserror.net/cgi-bin/gitweb.cgi?p=polintos%2Fscott%2Fpriv.git;a=blobdiff_plain;f=include%2Fc%2B%2B%2Fstl%2Fstl%2Fconfig%2F_system.h;fp=include%2Fc%2B%2B%2Fstl%2Fstl%2Fconfig%2F_system.h;h=c0261dffc766ab4ca16d91f36b85d36d2b847eb2;hp=0000000000000000000000000000000000000000;hb=173d8903eb9d51a4ea7d7fa3e52dc86c9bb6d4f1;hpb=b024710fe2b60cd4a42a8993b61333d6cdb56ca3 diff --git a/include/c++/stl/stl/config/_system.h b/include/c++/stl/stl/config/_system.h new file mode 100644 index 0000000..c0261df --- /dev/null +++ b/include/c++/stl/stl/config/_system.h @@ -0,0 +1,179 @@ +/* + * Copyright (c) 1997 + * Moscow Center for SPARC Technology + * + * Copyright (c) 1999 + * Boris Fomitchev + * + * This material is provided "as is", with absolutely no warranty expressed + * or implied. Any use is at your own risk. + * + * Permission to use or copy this software for any purpose is hereby granted + * without fee, provided the above notices are retained on all copies. + * Permission to modify the code and to distribute modified code is granted, + * provided the above notices are retained, and a notice that the code was + * modified is included with the above copyright notice. + * + */ + +/* + * Purpose of this file : + * + * To hold COMPILER-SPECIFIC portion of STLport settings. + * In general, user should not edit this file unless + * using the compiler not recognized below. + * + * If your compiler is not being recognized yet, + * please look for definitions of macros in stl_mycomp.h, + * copy stl_mycomp.h to stl_YOUR_COMPILER_NAME, + * adjust flags for your compiler, and add + * to the secton controlled by unique macro defined internaly by your compiler. + * + * To change user-definable settings, please edit + * + */ + +#ifndef __stl_config__system_h +#define __stl_config__system_h + +#if defined (__sun) +# include +# if defined (__GNUC__) +# include +# elif defined (__SUNPRO_CC) +# include +/* +# ifdef __KCC +# include +# endif +*/ +# elif defined (__APOGEE__) /* Apogee 4.x */ +# include +# elif defined (__FCC_VERSION) /* Fujitsu Compiler, v4.0 assumed */ +# include +# endif +#elif defined (__hpux) +# include +# if defined (__GNUC__) +# include +# elif defined (__HP_aCC) +# include +# endif +#elif defined (linux) || defined (__linux__) +# include +/* Intel's icc define __GNUC__! */ +# if defined (__INTEL_COMPILER) +# include +# elif defined (__GNUC__) +# include +# endif +/* +# ifdef __KCC +# include +# endif +*/ +#elif defined (__FreeBSD__) +# include +# if defined (__GNUC__) +# include +# endif +#elif defined (__OpenBSD__) +# include +# if defined (__GNUC__) +# include +# endif +#elif defined (N_PLAT_NLM) /* Novell NetWare */ +# include +# ifdef __MWERKS__ /* Metrowerks CodeWarrior */ +# include +# endif +#elif defined (__sgi) /* IRIX? */ +# define _STLP_PLATFORM "SGI Irix" +# if defined (__GNUC__) +# include +# else +# include +# endif +#elif defined (__OS400__) /* AS/400 C++ */ +# define _STLP_PLATFORM "OS 400" +# if defined (__GNUC__) +# include +# else +# include +# endif +#elif defined (_AIX) +# include +# if defined (__xlC__) || defined (__IBMC__) || defined ( __IBMCPP__ ) + /* AIX xlC, Visual Age C++ , OS-390 C++ */ +# include +# endif +#elif defined (_CRAY) /* Cray C++ 3.4 or 3.5 */ +# define _STLP_PLATFORM "Cray" +# include +#elif defined (__DECCXX) || defined (__DECC) +# define _STLP_PLATFORM "DECC" +# ifdef __vms +# include +# else +# include +# endif +#elif defined (macintosh) || defined (_MAC) +# include +# if defined (__MWERKS__) +# include +# elif defined (__MRC__) || (defined (__SC__) && (__SC__ >= 0x882)) + /* Apple MPW SCpp 8.8.2, Apple MPW MrCpp 4.1.0 */ +# include +# endif +#elif defined (__APPLE__) +# include +# ifdef __GNUC__ +# include +# endif +#elif defined (__CYGWIN__) +# include +# if defined (__GNUC__) +# include +# endif +#elif defined (__MINGW32__) +# define _STLP_PLATFORM "MinGW" +# if defined (__GNUC__) +# include +# endif +# include +#elif defined (_WIN32) || defined (__WIN32) || defined (WIN32) || defined (__WIN32__) || \ + defined (__WIN16) || defined (WIN16) || defined (_WIN16) +# if defined ( __BORLANDC__ ) /* Borland C++ ( 4.x - 5.x ) */ +# include +# elif defined (__WATCOM_CPLUSPLUS__) || defined (__WATCOMC__) /* Watcom C++ */ +# include +# elif defined (__COMO__) || defined (__COMO_VERSION_) +# include +# elif defined (__DMC__) /* Digital Mars C++ */ +# include +# elif defined (__SC__) && (__SC__ < 0x800) /* Symantec 7.5 */ +# include +# elif defined (__ICL) /* Intel reference compiler for Win */ +# include +# elif defined (__MWERKS__) +# include +# elif defined (_MSC_VER) && (_MSC_VER >= 1200) && defined (UNDER_CE) + /* Microsoft eMbedded Visual C++ 3.0, 4.0 (.NET) */ +# include +# elif defined (_MSC_VER) + /* Microsoft Visual C++ 6.0, 7.0, 7.1, 8.0 */ +# include +# endif + +# include +#else +# error Unknown platform !! +#endif + +#if !defined (_STLP_COMPILER) +/* Unable to identify the compiler, issue error diagnostic. + * Edit to set STLport up for your compiler. */ +# include +#endif + +#endif /* __stl_config__system_h */