mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 02:52:24 +00:00
Define integer sizes before including SYSTEM.h
This commit is contained in:
parent
682fa59e42
commit
ebfc60f49d
208 changed files with 1164 additions and 787 deletions
|
|
@ -1,5 +1,9 @@
|
|||
/* voc 1.95 [2016/09/04] for gcc LP64 on cygwin xtspkaSfF */
|
||||
#define LARGE
|
||||
/* voc 1.95 [2016/09/06] for gcc LP64 on cygwin xtspkaSfF */
|
||||
|
||||
#define INTEGER int32
|
||||
#define LONGINT int64
|
||||
#define SET uint64
|
||||
|
||||
#include "SYSTEM.h"
|
||||
|
||||
typedef
|
||||
|
|
@ -729,7 +733,6 @@ static void Platform_DisplayHaltCode (int64 code)
|
|||
|
||||
void Platform_Halt (int64 code)
|
||||
{
|
||||
int32 e;
|
||||
Platform_HaltCode = code;
|
||||
if (Platform_HaltHandler != NIL) {
|
||||
(*Platform_HaltHandler)(code);
|
||||
|
|
@ -746,7 +749,6 @@ void Platform_Halt (int64 code)
|
|||
|
||||
void Platform_AssertFail (int64 code)
|
||||
{
|
||||
int32 e;
|
||||
Platform_errstring((CHAR*)"Assertion failure.", 19);
|
||||
if (code != 0) {
|
||||
Platform_errstring((CHAR*)" ASSERT code ", 14);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue