/home/ntakagi/work/STLport-5.1.5/stlport/stl/config/_system.hGo to the documentation of this file.00001 /* 00002 * Copyright (c) 1997 00003 * Moscow Center for SPARC Technology 00004 * 00005 * Copyright (c) 1999 00006 * Boris Fomitchev 00007 * 00008 * This material is provided "as is", with absolutely no warranty expressed 00009 * or implied. Any use is at your own risk. 00010 * 00011 * Permission to use or copy this software for any purpose is hereby granted 00012 * without fee, provided the above notices are retained on all copies. 00013 * Permission to modify the code and to distribute modified code is granted, 00014 * provided the above notices are retained, and a notice that the code was 00015 * modified is included with the above copyright notice. 00016 * 00017 */ 00018 00019 /* 00020 * Purpose of this file : 00021 * 00022 * To hold COMPILER-SPECIFIC portion of STLport settings. 00023 * In general, user should not edit this file unless 00024 * using the compiler not recognized below. 00025 * 00026 * If your compiler is not being recognized yet, 00027 * please look for definitions of macros in stl_mycomp.h, 00028 * copy stl_mycomp.h to stl_YOUR_COMPILER_NAME, 00029 * adjust flags for your compiler, and add <include config/stl_YOUR_COMPILER_NAME> 00030 * to the secton controlled by unique macro defined internaly by your compiler. 00031 * 00032 * To change user-definable settings, please edit <user_config.h> 00033 * 00034 */ 00035 00036 #ifndef __stl_config__system_h 00037 #define __stl_config__system_h 00038 00039 #if defined (__sun) 00040 # include <stl/config/_solaris.h> 00041 # if defined (__GNUC__) 00042 # include <stl/config/_gcc.h> 00043 # elif defined (__SUNPRO_CC) 00044 # include <stl/config/_sunprocc.h> 00045 /* 00046 # ifdef __KCC 00047 # include <stl/config/_kai.h> 00048 # endif 00049 */ 00050 # elif defined (__APOGEE__) /* Apogee 4.x */ 00051 # include <stl/config/_apcc.h> 00052 # elif defined (__FCC_VERSION) /* Fujitsu Compiler, v4.0 assumed */ 00053 # include <stl/config/_fujitsu.h> 00054 # endif 00055 #elif defined (__hpux) 00056 # include <stl/config/_hpux.h> 00057 # if defined (__GNUC__) 00058 # include <stl/config/_gcc.h> 00059 # elif defined (__HP_aCC) 00060 # include <stl/config/_hpacc.h> 00061 # endif 00062 #elif defined (linux) || defined (__linux__) 00063 # include <stl/config/_linux.h> 00064 /* Intel's icc define __GNUC__! */ 00065 # if defined (__INTEL_COMPILER) 00066 # include <stl/config/_icc.h> 00067 # elif defined (__GNUC__) 00068 # include <stl/config/_gcc.h> 00069 # endif 00070 /* 00071 # ifdef __KCC 00072 # include <stl/config/_kai.h> 00073 # endif 00074 */ 00075 #elif defined (__FreeBSD__) 00076 # include <stl/config/_freebsd.h> 00077 # if defined (__GNUC__) 00078 # include <stl/config/_gcc.h> 00079 # endif 00080 #elif defined (__OpenBSD__) 00081 # include <stl/config/_openbsd.h> 00082 # if defined (__GNUC__) 00083 # include <stl/config/_gcc.h> 00084 # endif 00085 #elif defined (N_PLAT_NLM) /* Novell NetWare */ 00086 # include <stl/config/_netware.h> 00087 # ifdef __MWERKS__ /* Metrowerks CodeWarrior */ 00088 # include <stl/config/_mwccnlm.h> 00089 # endif 00090 #elif defined (__sgi) /* IRIX? */ 00091 # define _STLP_PLATFORM "SGI Irix" 00092 # if defined (__GNUC__) 00093 # include <stl/config/_gcc.h> 00094 # else 00095 # include <stl/config/_sgi.h> 00096 # endif 00097 #elif defined (__OS400__) /* AS/400 C++ */ 00098 # define _STLP_PLATFORM "OS 400" 00099 # if defined (__GNUC__) 00100 # include <stl/config/_gcc.h> 00101 # else 00102 # include <stl/config/_as400.h> 00103 # endif 00104 #elif defined (_AIX) 00105 # include <stl/config/_aix.h> 00106 # if defined (__xlC__) || defined (__IBMC__) || defined ( __IBMCPP__ ) 00107 /* AIX xlC, Visual Age C++ , OS-390 C++ */ 00108 # include <stl/config/_ibm.h> 00109 # endif 00110 #elif defined (_CRAY) /* Cray C++ 3.4 or 3.5 */ 00111 # define _STLP_PLATFORM "Cray" 00112 # include <config/_cray.h> 00113 #elif defined (__DECCXX) || defined (__DECC) 00114 # define _STLP_PLATFORM "DECC" 00115 # ifdef __vms 00116 # include <stl/config/_dec_vms.h> 00117 # else 00118 # include <stl/config/_dec.h> 00119 # endif 00120 #elif defined (macintosh) || defined (_MAC) 00121 # include <stl/config/_mac.h> 00122 # if defined (__MWERKS__) 00123 # include <stl/config/_mwerks.h> 00124 # elif defined (__MRC__) || (defined (__SC__) && (__SC__ >= 0x882)) 00125 /* Apple MPW SCpp 8.8.2, Apple MPW MrCpp 4.1.0 */ 00126 # include <stl/config/_apple.h> 00127 # endif 00128 #elif defined (__APPLE__) 00129 # include <stl/config/_macosx.h> 00130 # ifdef __GNUC__ 00131 # include <stl/config/_gcc.h> 00132 # endif 00133 #elif defined (__CYGWIN__) 00134 # include <stl/config/_cygwin.h> 00135 # if defined (__GNUC__) 00136 # include <stl/config/_gcc.h> 00137 # endif 00138 #elif defined (__MINGW32__) 00139 # define _STLP_PLATFORM "MinGW" 00140 # if defined (__GNUC__) 00141 # include <stl/config/_gcc.h> 00142 # endif 00143 # include <stl/config/_windows.h> 00144 #elif defined (_WIN32) || defined (__WIN32) || defined (WIN32) || defined (__WIN32__) || \ 00145 defined (__WIN16) || defined (WIN16) || defined (_WIN16) 00146 # if defined ( __BORLANDC__ ) /* Borland C++ ( 4.x - 5.x ) */ 00147 # include <stl/config/_bc.h> 00148 # elif defined (__WATCOM_CPLUSPLUS__) || defined (__WATCOMC__) /* Watcom C++ */ 00149 # include <stl/config/_watcom.h> 00150 # elif defined (__COMO__) || defined (__COMO_VERSION_) 00151 # include <stl/config/_como.h> 00152 # elif defined (__DMC__) /* Digital Mars C++ */ 00153 # include <stl/config/_dm.h> 00154 # elif defined (__SC__) && (__SC__ < 0x800) /* Symantec 7.5 */ 00155 # include <stl/config/_symantec.h> 00156 # elif defined (__ICL) /* Intel reference compiler for Win */ 00157 # include <stl/config/_intel.h> 00158 # elif defined (__MWERKS__) 00159 # include <stl/config/_mwerks.h> 00160 # elif defined (_MSC_VER) && (_MSC_VER >= 1200) && defined (UNDER_CE) 00161 /* Microsoft eMbedded Visual C++ 3.0, 4.0 (.NET) */ 00162 # include <stl/config/_evc.h> 00163 # elif defined (_MSC_VER) 00164 /* Microsoft Visual C++ 6.0, 7.0, 7.1, 8.0 */ 00165 # include <stl/config/_msvc.h> 00166 # endif 00167 00168 # include <stl/config/_windows.h> 00169 #else 00170 # error Unknown platform !! 00171 #endif 00172 00173 #if !defined (_STLP_COMPILER) 00174 /* Unable to identify the compiler, issue error diagnostic. 00175 * Edit <config/stl_mycomp.h> to set STLport up for your compiler. */ 00176 # include <stl/config/stl_mycomp.h> 00177 #endif 00178 00179 #endif /* __stl_config__system_h */
Generated on Mon Mar 10 15:32:46 2008 by ![]() |