File tree Expand file tree Collapse file tree 2 files changed +3
-23
lines changed Expand file tree Collapse file tree 2 files changed +3
-23
lines changed Original file line number Diff line number Diff line change 12
12
#ifndef __ICEPREPROCESSOR_H__
13
13
#define __ICEPREPROCESSOR_H__
14
14
15
- // Check platform
16
- #if defined(_WIN32 ) || defined(WIN32 )
17
- #pragma message("Compiling on Windows...")
18
- #define PLATFORM_WINDOWS
19
- #else
20
- #pragma message("Compiling on unknown platform...")
21
- #endif
22
-
23
- // Check compiler
24
- #if defined(_MSC_VER )
25
- #pragma message("Compiling with VC++...")
26
- #define COMPILER_VISUAL_CPP
27
- #else
28
- #pragma message("Compiling with unknown compiler...")
29
- #endif
30
-
31
15
// Check compiler options
32
16
#ifdef COMPILER_VISUAL_CPP
33
17
#if defined(_CHAR_UNSIGNED )
Original file line number Diff line number Diff line change 10
10
// /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
11
11
// Include Guard
12
12
#pragma once
13
+ #include < stdint.h>
13
14
#ifndef __ICETYPES_H__
14
15
#define __ICETYPES_H__
15
16
@@ -42,8 +43,8 @@ typedef signed short sword; //!< sizeof(sword) must be 2
42
43
typedef unsigned short uword; // !< sizeof(uword) must be 2
43
44
typedef signed int sdword; // !< sizeof(sdword) must be 4
44
45
typedef unsigned int udword; // !< sizeof(udword) must be 4
45
- typedef signed __int64 sqword; // !< sizeof(sqword) must be 8
46
- typedef unsigned __int64 uqword; // !< sizeof(uqword) must be 8
46
+ typedef int64_t sqword; // !< sizeof(sqword) must be 8
47
+ typedef uint64_t uqword; // !< sizeof(uqword) must be 8
47
48
typedef float float32; // !< sizeof(float32) must be 4
48
49
typedef double float64; // !< sizeof(float64) must be 4
49
50
@@ -68,11 +69,6 @@ typedef udword RTYPE; //!< Relationship-type (!) between owners and references
68
69
#define INVALID_KID 0xffff // !< Invalid Kernel ID
69
70
#define INVALID_NUMBER 0xDEADBEEF // !< Standard junk value
70
71
71
- // Define BOOL if needed
72
- #ifndef BOOL
73
- typedef int BOOL; // !< Another boolean type.
74
- #endif
75
-
76
72
// ! Union of a float and a sdword
77
73
typedef union
78
74
{
You can’t perform that action at this time.
0 commit comments