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 1212#ifndef __ICEPREPROCESSOR_H__
1313#define __ICEPREPROCESSOR_H__
1414
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-
3115// Check compiler options
3216#ifdef COMPILER_VISUAL_CPP
3317#if defined(_CHAR_UNSIGNED )
Original file line number Diff line number Diff line change 1010// /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
1111// Include Guard
1212#pragma once
13+ #include < stdint.h>
1314#ifndef __ICETYPES_H__
1415#define __ICETYPES_H__
1516
@@ -42,8 +43,8 @@ typedef signed short sword; //!< sizeof(sword) must be 2
4243typedef unsigned short uword; // !< sizeof(uword) must be 2
4344typedef signed int sdword; // !< sizeof(sdword) must be 4
4445typedef 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
4748typedef float float32; // !< sizeof(float32) must be 4
4849typedef double float64; // !< sizeof(float64) must be 4
4950
@@ -68,11 +69,6 @@ typedef udword RTYPE; //!< Relationship-type (!) between owners and references
6869#define INVALID_KID 0xffff // !< Invalid Kernel ID
6970#define INVALID_NUMBER 0xDEADBEEF // !< Standard junk value
7071
71- // Define BOOL if needed
72- #ifndef BOOL
73- typedef int BOOL; // !< Another boolean type.
74- #endif
75-
7672// ! Union of a float and a sdword
7773typedef union
7874{
You can’t perform that action at this time.
0 commit comments