From a730d6c96bfbd0441f746d28801b0710825d8252 Mon Sep 17 00:00:00 2001 From: David Brown Date: Sat, 3 Sep 2016 12:01:04 +0100 Subject: [PATCH] Switch SYSTEM.h uintptr type from int64 to size_t, 32 bit working again. --- bootstrap/unix-44/SYSTEM.h | 4 ++-- bootstrap/unix-48/SYSTEM.h | 4 ++-- bootstrap/unix-88/SYSTEM.h | 4 ++-- bootstrap/windows-48/SYSTEM.h | 4 ++-- bootstrap/windows-88/SYSTEM.h | 4 ++-- src/system/SYSTEM.h | 3 +-- 6 files changed, 11 insertions(+), 12 deletions(-) diff --git a/bootstrap/unix-44/SYSTEM.h b/bootstrap/unix-44/SYSTEM.h index 31fa97c5..b7d405ff 100644 --- a/bootstrap/unix-44/SYSTEM.h +++ b/bootstrap/unix-44/SYSTEM.h @@ -39,8 +39,8 @@ typedef unsigned short int uint16; typedef signed char int8; typedef unsigned char uint8; -//#define uintptr size_t -#define uintptr int64 +#define uintptr size_t +//#define uintptr int64 // The compiler uses 'import' and 'export' which translate to 'extern' and // nothing respectively. diff --git a/bootstrap/unix-48/SYSTEM.h b/bootstrap/unix-48/SYSTEM.h index 31fa97c5..b7d405ff 100644 --- a/bootstrap/unix-48/SYSTEM.h +++ b/bootstrap/unix-48/SYSTEM.h @@ -39,8 +39,8 @@ typedef unsigned short int uint16; typedef signed char int8; typedef unsigned char uint8; -//#define uintptr size_t -#define uintptr int64 +#define uintptr size_t +//#define uintptr int64 // The compiler uses 'import' and 'export' which translate to 'extern' and // nothing respectively. diff --git a/bootstrap/unix-88/SYSTEM.h b/bootstrap/unix-88/SYSTEM.h index 31fa97c5..b7d405ff 100644 --- a/bootstrap/unix-88/SYSTEM.h +++ b/bootstrap/unix-88/SYSTEM.h @@ -39,8 +39,8 @@ typedef unsigned short int uint16; typedef signed char int8; typedef unsigned char uint8; -//#define uintptr size_t -#define uintptr int64 +#define uintptr size_t +//#define uintptr int64 // The compiler uses 'import' and 'export' which translate to 'extern' and // nothing respectively. diff --git a/bootstrap/windows-48/SYSTEM.h b/bootstrap/windows-48/SYSTEM.h index 31fa97c5..b7d405ff 100644 --- a/bootstrap/windows-48/SYSTEM.h +++ b/bootstrap/windows-48/SYSTEM.h @@ -39,8 +39,8 @@ typedef unsigned short int uint16; typedef signed char int8; typedef unsigned char uint8; -//#define uintptr size_t -#define uintptr int64 +#define uintptr size_t +//#define uintptr int64 // The compiler uses 'import' and 'export' which translate to 'extern' and // nothing respectively. diff --git a/bootstrap/windows-88/SYSTEM.h b/bootstrap/windows-88/SYSTEM.h index 31fa97c5..b7d405ff 100644 --- a/bootstrap/windows-88/SYSTEM.h +++ b/bootstrap/windows-88/SYSTEM.h @@ -39,8 +39,8 @@ typedef unsigned short int uint16; typedef signed char int8; typedef unsigned char uint8; -//#define uintptr size_t -#define uintptr int64 +#define uintptr size_t +//#define uintptr int64 // The compiler uses 'import' and 'export' which translate to 'extern' and // nothing respectively. diff --git a/src/system/SYSTEM.h b/src/system/SYSTEM.h index 31fa97c5..2622657f 100644 --- a/src/system/SYSTEM.h +++ b/src/system/SYSTEM.h @@ -39,8 +39,7 @@ typedef unsigned short int uint16; typedef signed char int8; typedef unsigned char uint8; -//#define uintptr size_t -#define uintptr int64 +#define uintptr size_t // The compiler uses 'import' and 'export' which translate to 'extern' and // nothing respectively.