Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
config.h
Go to the documentation of this file.
1 // ======================================================================
2 //
3 // Copyright (c) 1997 The CGAL Consortium
4 
5 // This software and related documentation is part of the Computational
6 // Geometry Algorithms Library (CGAL).
7 // This software and documentation is provided "as-is" and without warranty
8 // of any kind. In no event shall the CGAL Consortium be liable for any
9 // damage of any kind.
10 //
11 // Every use of CGAL requires a license.
12 //
13 // Academic research and teaching license
14 // - For academic research and teaching purposes, permission to use and copy
15 // the software and its documentation is hereby granted free of charge,
16 // provided that it is not a component of a commercial product, and this
17 // notice appears in all copies of the software and related documentation.
18 //
19 // Commercial licenses
20 // - A commercial license is available through Algorithmic Solutions, who also
21 // markets LEDA (http://www.algorithmic-solutions.de).
22 // - Commercial users may apply for an evaluation license by writing to
23 // Algorithmic Solutions (contact@algorithmic-solutions.com).
24 //
25 // The CGAL Consortium consists of Utrecht University (The Netherlands),
26 // ETH Zurich (Switzerland), Free University of Berlin (Germany),
27 // INRIA Sophia-Antipolis (France), Martin-Luther-University Halle-Wittenberg
28 // (Germany), Max-Planck-Institute Saarbrucken (Germany), RISC Linz (Austria),
29 // and Tel-Aviv University (Israel).
30 //
31 // ----------------------------------------------------------------------
32 //
33 // release : CGAL-2.2
34 // release_date : 2000, September 30
35 //
36 // file : include/CGAL/config.h
37 // package : Configuration (2.4)
38 // source :
39 // revision : 1.11
40 // revision_date : 30 Mar 1998
41 // author(s) : Wieger Wesselink
42 // Michael Hoffmann
43 //
44 // coordinator : Utrecht University
45 //
46 // email : contact@cgal.org
47 // www : http://www.cgal.org
48 //
49 // ======================================================================
50 
51 #ifndef CGAL_CONFIG_H
52 #define CGAL_CONFIG_H
53 
54 #define CGAL_VERSION 2.2
55 #define CGAL_VERSION_NR 1002002100
56 
57 #define CGAL_CFG_NO_ADVANCED_KERNEL 1
58 
59 //----------------------------------------------------------------------//
60 // STLport fix for MSVC
61 //----------------------------------------------------------------------//
62 
63 
64 #ifdef _MSC_VER
65 # define CGAL_SCOPE
66 # define CGAL_LIMITED_ITERATOR_TRAITS_SUPPORT 1
67 # include <stl_config.h>
68 # include <stl_iterator_base.h>
69 #else // not _MSC_VER
70 # define CGAL_SCOPE CGAL::
71 # define CGAL_DEFINE_ITERATOR_TRAITS_POINTER_SPEC(a)
72 #endif // _MSC_VER
73 
74 
75 //----------------------------------------------------------------------//
76 // include platform specific workaround flags (CGAL_CFG_...)
77 //----------------------------------------------------------------------//
78 
79 #include <CGAL/compiler_config.h>
80 
81 //----------------------------------------------------------------------//
82 // do some post processing for the flags
83 //----------------------------------------------------------------------//
84 
85 
86 #ifdef CGAL_CFG_TYPENAME_BUG
87 # define CGAL_TYPENAME_MSVC_NULL
88 #else
89 # define CGAL_TYPENAME_MSVC_NULL typename
90 #endif
91 
92 
93 #ifdef CGAL_CFG_NO_NAMESPACE
94 # define CGAL_USING_NAMESPACE_STD
95 # define CGAL_STD
96 # define CGAL std
97 #else
98 # define CGAL_USING_NAMESPACE_STD using namespace std;
99 # define CGAL_STD std
100 # ifndef CGAL_USE_NAMESPACE
101 # define CGAL_USE_NAMESPACE 1
102 # endif
103 #endif
104 
105 #if CGAL_USE_NAMESPACE
106 # define CGAL_BEGIN_NAMESPACE namespace CGAL {
107 # define CGAL_END_NAMESPACE }
108 #else
109 # define CGAL_BEGIN_NAMESPACE
110 # define CGAL_END_NAMESPACE
111 #endif
112 
113 #ifdef CGAL_CFG_NO_MUTABLE
114 # define mutable
115 #endif
116 
117 #ifdef CGAL_CFG_NO_TEMPLATE_FRIEND_DISTINCTION
118 # define CGAL_NULL_TMPL_ARGS
119 #else
120 # define CGAL_NULL_TMPL_ARGS <>
121 #endif
122 
123 #ifdef CGAL_CFG_NO_EXPLICIT_CLASS_TEMPLATE_SPECIALISATION
124 # define CGAL_TEMPLATE_NULL
125 #else
126 # define CGAL_TEMPLATE_NULL template <>
127 #endif
128 
129 
130 #ifdef CGAL_CFG_NO_STDC_NAMESPACE
131 #define CGAL_CLIB_STD
132 #else
133 #define CGAL_CLIB_STD std
134 #endif
135 
136 //----------------------------------------------------------------------//
137 // include separate workaround files
138 //----------------------------------------------------------------------//
139 
140 #ifdef _MSC_VER
141 # include <CGAL/MSVC_standard_header_fixes.h>
142 #endif
143 #if defined(__BORLANDC__) && __BORLANDC__ > 0x520
144 #include <CGAL/Borland_fixes.h>
145 #endif
146 #include <CGAL/workaround_casts.h>
147 
148 //----------------------------------------------------------------------//
149 // select old or new style headers
150 //----------------------------------------------------------------------//
151 
152 
153 #ifndef CGAL_USE_NEWSTYLE_HEADERS
154 # ifndef CGAL_CFG_NO_STANDARD_HEADERS
155 # ifndef CGAL_NO_NEWSTYLE_HEADERS
156 # define CGAL_USE_NEWSTYLE_HEADERS
157 # endif // ! CGAL_NO_NEWSTYLE_HEADERS
158 # endif // ! CGAL_CFG_NO_STANDARD_HEADERS
159 #endif // ! CGAL_USE_NEWSTYLE_HEADERS
160 
161 #endif // CGAL_CONFIG_H
162