Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
known_bit_size_integers.h
Go to the documentation of this file.
1 // ======================================================================
2 //
3 // Copyright (c) 1999 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 // source : basic.fw
37 // file : include/CGAL/known_bit_size_integers.h
38 // package : Kernel_basic (3.14)
39 // revision : 3.14
40 // revision_date : 15 Sep 2000
41 // author(s) : Lutz Kettner
42 //
43 // coordinator : MPI, Saarbruecken (<Stefan.Schirra>)
44 // email : contact@cgal.org
45 // www : http://www.cgal.org
46 //
47 // ======================================================================
48 
49 
50 #ifndef CGAL_KNOWN_BIT_SIZE_INTEGERS_H
51 #define CGAL_KNOWN_BIT_SIZE_INTEGERS_H
53 
54 
55 #if (defined(__sparc__) || defined(__sparc) || defined(sparc)) || \
56  (defined(__sgi__) || defined(__sgi) || defined(sgi)) || \
57  (defined(__i386__) || defined(__i386) || defined(i386)) || \
58  (defined(__powerpc__) || defined(__powerpc) || defined(powerpc))
59  typedef signed char Integer8;
60  typedef short Integer16;
61  typedef int Integer32;
62  typedef unsigned char UInteger8;
63  typedef unsigned short UInteger16;
64  typedef unsigned int UInteger32;
65 // ANSI C++ does not support `long long'
66 // typedef long long int Integer64;
67 // typedef unsigned long long int UInteger64;
68 // the above definitions for long long are now in file
69 // include/CGAL/long_long.h and not included automatically anymore
70 #else
71 # if defined(__BORLANDC__)
72  typedef __int8 Integer8;
73  typedef __int16 Integer16;
74  typedef __int32 Integer32;
75  typedef __int64 Integer64;
76  typedef unsigned __int8 UInteger8;
77  typedef unsigned __int16 UInteger16;
78  typedef unsigned __int32 UInteger32;
79  typedef unsigned __int64 UInteger64;
80 # else
81 # if defined(_MSC_VER)
82  typedef signed char Integer8;
83  typedef short Integer16;
84  typedef int Integer32;
85  typedef __int64 Integer64;
86  typedef unsigned char UInteger8;
87  typedef unsigned short UInteger16;
88  typedef unsigned int UInteger32;
89  typedef unsigned __int64 UInteger64;
90 # else
91 # error "patch this"
92 # endif
93 # endif
94 #endif
95 
97 
98 #endif // CGAL_KNOWN_BIT_SIZE_INTEGERS_H
#define CGAL_BEGIN_NAMESPACE
Definition: kdtree_d.h:86
#define CGAL_END_NAMESPACE
Definition: kdtree_d.h:87