Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/physics_merge/src/util/Integers.h @ 2490

Last change on this file since 2490 was 2458, checked in by rgrieder, 16 years ago

Several build fixed. Something seems to be wrong with the ORXONOX_COMPILER_GCC macro under very special circumstances.

  • Property svn:eol-style set to native
File size: 1.5 KB
Line 
1/*
2 *   ORXONOX - the hottest 3D action shooter ever to exist
3 *                    > www.orxonox.net <
4 *
5 *
6 *   License notice:
7 *
8 *   This program is free software; you can redistribute it and/or
9 *   modify it under the terms of the GNU General Public License
10 *   as published by the Free Software Foundation; either version 2
11 *   of the License, or (at your option) any later version.
12 *
13 *   This program is distributed in the hope that it will be useful,
14 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
15 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 *   GNU General Public License for more details.
17 *
18 *   You should have received a copy of the GNU General Public License
19 *   along with this program; if not, write to the Free Software
20 *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
21 *
22 *   Author:
23 *      Reto Grieder
24 *   Co-authors:
25 *      ...
26 *
27 */
28
29/**
30 @file
31 @brief
32    Defines fixed with integers
33 */
34
35#ifndef _Integers_H__
36#define _Integers_H__
37
38#include "OrxonoxPlatform.h"
39
40/* Define fixed with integers
41 * Note: This is not in a namespace to make it available everywhere!*/
42#if ORXONOX_COMPILER == ORXONOX_COMPILER_MSVC
43typedef __int8            int8_t;
44typedef __int16           int16_t;
45typedef __int32           int32_t;
46typedef __int64           int64_t;
47typedef unsigned __int8   uint8_t;
48typedef unsigned __int16  uint16_t;
49typedef unsigned __int32  uint32_t;
50typedef unsigned __int64  uint64_t;
51#else
52# include <inttypes.h>
53#endif
54
55#endif /* _Integers_H__ */
Note: See TracBrowser for help on using the repository browser.