HoverRace  2.0
MR_Types.h
Go to the documentation of this file.
1 
2 // MR_Types.h
3 //
4 // Copyright (c) 1995-1998 - Richard Langlois and Grokksoft Inc.
5 //
6 // Licensed under GrokkSoft HoverRace SourceCode License v1.0(the "License");
7 // you may not use this file except in compliance with the License.
8 //
9 // A copy of the license should have been attached to the package from which
10 // you have taken this file. If you can not find the license you can not use
11 // this file.
12 //
13 //
14 // The author makes no representations about the suitability of
15 // this software for any purpose. It is provided "as is" "AS IS",
16 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
17 // implied.
18 //
19 // See the License for the specific language governing permissions
20 // and limitations under the License.
21 //
22 
23 #pragma once
24 
25 #ifdef _WIN32
26 
27  typedef signed __int8 MR_Int8;
28  typedef unsigned __int8 MR_UInt8;
29  typedef signed __int16 MR_Int16;
30  typedef unsigned __int16 MR_UInt16;
31  typedef signed __int32 MR_Int32;
32  typedef unsigned __int32 MR_UInt32;
33  typedef signed __int64 MR_Int64;
34  typedef unsigned __int64 MR_UInt64;
35 
36 #else
37 # include <inttypes.h>
38 
39  typedef int8_t MR_Int8;
40  typedef uint8_t MR_UInt8;
41  typedef int16_t MR_Int16;
42  typedef uint16_t MR_UInt16;
43  typedef int32_t MR_Int32;
44  typedef uint32_t MR_UInt32;
45  typedef int64_t MR_Int64;
46  typedef uint64_t MR_UInt64;
47 
48 #endif
uint16_t MR_UInt16
Definition: MR_Types.h:42
int8_t MR_Int8
Definition: MR_Types.h:39
int16_t MR_Int16
Definition: MR_Types.h:41
int32_t MR_Int32
Definition: MR_Types.h:43
uint64_t MR_UInt64
Definition: MR_Types.h:46
uint32_t MR_UInt32
Definition: MR_Types.h:44
int64_t MR_Int64
Definition: MR_Types.h:45
uint8_t MR_UInt8
Definition: MR_Types.h:40