OSG  3.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Types.h
Go to the documentation of this file.
1 /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2004 Robert Osfield
2  *
3  * This library is open source and may be redistributed and/or modified under
4  * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
5  * (at your option) any later version. The full license is in LICENSE file
6  * included with this distribution, and on the openscenegraph.org website.
7  *
8  * This library is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * OpenSceneGraph Public License for more details.
12 */
13 
14 #ifndef __OSG_TYPES
15 #define __OSG_TYPES
16 
17 #if defined(_MSC_VER) && _MSC_VER < 1600
18 typedef __int8 int8_t;
19 typedef unsigned __int8 uint8_t;
20 typedef __int16 int16_t;
21 typedef unsigned __int16 uint16_t;
22 typedef __int32 int32_t;
23 typedef unsigned __int32 uint32_t;
24 typedef __int64 int64_t;
25 typedef unsigned __int64 uint64_t;
26 #else
27 #include <stdint.h>
28 #endif
29 
30 #endif // __OSG_TYPES