missing project/build files
[client-tools.git] / src / external / 3rd / library / stlport453 / stlport / config / stlcomp.h
blob899dc5c83fe813a66ca9e73de4e631a651beb80a
1 /*
2 * Copyright (c) 1997
3 * Moscow Center for SPARC Technology
5 * Copyright (c) 1999
6 * Boris Fomitchev
8 * This material is provided "as is", with absolutely no warranty expressed
9 * or implied. Any use is at your own risk.
11 * Permission to use or copy this software for any purpose is hereby granted
12 * without fee, provided the above notices are retained on all copies.
13 * Permission to modify the code and to distribute modified code is granted,
14 * provided the above notices are retained, and a notice that the code was
15 * modified is included with the above copyright notice.
20 * Purpose of this file :
22 * To hold COMPILER-SPECIFIC portion of STLport settings.
23 * In general, user should not edit this file unless
24 * using the compiler not recognized below.
26 * If your compiler is not being recognized yet,
27 * please look for definitions of macros in stl_mycomp.h,
28 * copy stl_mycomp.h to stl_YOUR_COMPILER_NAME,
29 * adjust flags for your compiler, and add <include config/stl_YOUR_COMPILER_NAME>
30 * to the secton controlled by unique macro defined internaly by your compiler.
32 * To change user-definable settings, please edit <../stl_user_config.h>
36 #ifndef _STLP_COMP_H
37 # define _STLP_COMP_H
39 # define __GIVE_UP_WITH_STL(message) void give_up() \
40 { upgrade_the_compiler_to_use_STL;}
42 /* distinguish real MSC from Metrowerks and Intel */
43 # if defined(_MSC_VER) && !defined(__MWERKS__) && !defined (__ICL) && !defined (__COMO__)
44 # define _STLP_MSVC _MSC_VER
45 # endif
47 # if defined (__xlC__) || defined (__IBMC__) || defined ( __IBMCPP__ )
48 /* AIX xlC, Visual Age C++ , OS-390 C++ */
49 # include <config/stl_ibm.h>
50 # elif defined (__GNUC__ )
51 # include <config/stl_gcc.h>
52 # elif defined (__KCC)
53 # include <config/stl_kai.h>
54 # elif defined(__sgi)
55 # include <config/stl_sgi.h>
56 # elif (defined(__OS400__))
57 /* AS/400 C++ */
58 # include <config/stl_as400.h>
59 # elif defined(_STLP_MSVC)
60 /* Microsoft Visual C++ 4.0, 4.1, 4.2, 5.0 */
61 # include <config/stl_msvc.h>
62 # elif defined ( __BORLANDC__ )
63 /* Borland C++ ( 4.x - 5.x ) */
64 # include <config/stl_bc.h>
65 # elif defined(__SUNPRO_CC) || defined (__SUNPRO_C)
66 /* SUN CC 4.0.1-5.0 */
67 # include <config/stl_sunpro.h>
68 # elif defined (__WATCOM_CPLUSPLUS__) || defined (__WATCOMC__)
69 /* Watcom C++ */
70 # include <config/stl_watcom.h>
71 # elif defined(__COMO__) || defined (__COMO_VERSION_)
72 # include <config/stl_como.h>
73 # elif defined (__SC__) && (__SC__ < 0x800)
74 /* Symantec 7.5 */
75 # include <config/stl_symantec.h>
76 # elif defined (__MRC__) || (defined (__SC__) && (__SC__ >= 0x882))
77 /* Apple MPW SCpp 8.8.2
78 * Apple MPW MrCpp 4.1.0 */
79 # include <config/stl_apple.h>
80 # elif defined (__MWERKS__)
81 /* Metrowerks CodeWarrior */
82 # include <config/stl_mwerks.h>
83 # elif defined(__hpux)
84 /* HP compilers */
85 # include <config/stl_hpacc.h>
86 # elif defined(__ICL)
87 /* Intel reference compiler for Win */
88 # include <config/stl_intel.h>
89 /* SCO UDK 7 compiler (UnixWare 7x, OSR 5, UnixWare 2x) */
90 # elif defined(__USLC__)
91 # include <config/stl_sco.h>
92 /* Apogee 4.x */
93 # elif defined (__APOGEE__)
94 # include <config/stl_apcc.h>
95 # elif defined (__DECCXX) || defined (__DECC)
96 # ifdef __vms
97 # include <config/stl_dec_vms.h>
98 # else
99 # include <config/stl_dec.h>
100 # endif
101 # elif defined (__ISCPP__)
102 # include <config/stl_is.h>
103 # elif defined (__FCC_VERSION)
104 /* Fujutsu Compiler, v4.0 assumed */
105 # include <config/stl_fujitsu.h>
106 # else
107 /* Unable to identify the compiler, issue error diagnostic.
108 * Edit <config/stl_mycomp.h> to set STLport up for your compiler. */
109 # include <config/stl_mycomp.h>
110 # endif /* end of compiler choice */
111 # undef __GIVE_UP_WITH_STL
112 #endif