DataTypes.h

Go to the documentation of this file.
00001 /*
00002  * $Id: DataTypes.h 562 2007-12-02 08:04:16Z mindstorm2600 $
00003  *
00004  * X-VR2 
00005  * 
00006  * Copyright (C) Juan V. Guerrero 2007
00007  * 
00008  * Juan V. Guerrero <mindstorm2600@users.sourceforge.net>
00009  * 
00010  * This program is free software, distributed under the terms of
00011  * the GNU General Public License Version 2. See the LICENSE file
00012  * at the top of the source tree.
00013  */
00014 #ifndef __DATA_TYPES_H__
00015 #define __DATA_TYPES_H__
00016 
00017 #include<xvr2/xvr2config.h>
00018 #ifdef _STDINT_H
00019 typedef uint8_t                 UInt8;
00020 typedef int8_t                  Int8;
00021 typedef uint16_t                UInt16;
00022 typedef int16_t                 Int16;
00023 typedef uint32_t                UInt32;
00024 typedef int32_t                 Int32;
00025 typedef uint64_t                UInt64;
00026 typedef int64_t                 Int64;
00027 #else
00028 typedef unsigned char           UInt8;
00029 typedef signed char             Int8;
00030 typedef unsigned short          UInt16;
00031 typedef signed short            Int16;
00032 typedef unsigned int            UInt32;
00033 typedef signed int              Int32;
00034 typedef unsigned long long      UInt64;
00035 typedef long long               Int64;
00036 #endif
00037 #if defined(USING_LINUX) || defined(USING_SOLARIS)
00038 #include<sys/types.h>
00039 typedef off_t                   FileSizeT;
00040 typedef off_t                   FileOffsetT;
00041 typedef int                     OSErrorCodeT;
00042 #else
00043 typedef long int                FileSizeT;
00044 typedef long int                FileOffsetT;
00045 typedef int                     OSErrorCodeT;
00046 #endif
00047 
00048 #endif

Generated on Fri Jun 20 22:55:47 2008 for X-VR2 SDK by  doxygen 1.5.5