mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 04:02:25 +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,4 +1,9 @@
|
|||
/* voc 1.95 [2016/09/04] for gcc LP64 on cygwin xtspkaSfF */
|
||||
/* voc 1.95 [2016/09/06] for gcc LP64 on cygwin xtspkaSfF */
|
||||
|
||||
#define INTEGER int16
|
||||
#define LONGINT int32
|
||||
#define SET uint32
|
||||
|
||||
#include "SYSTEM.h"
|
||||
|
||||
typedef
|
||||
|
|
@ -774,7 +779,6 @@ static void Platform_DisplayHaltCode (int32 code)
|
|||
|
||||
void Platform_Halt (int32 code)
|
||||
{
|
||||
int16 e;
|
||||
Platform_HaltCode = code;
|
||||
if (Platform_HaltHandler != NIL) {
|
||||
(*Platform_HaltHandler)(code);
|
||||
|
|
@ -791,7 +795,6 @@ void Platform_Halt (int32 code)
|
|||
|
||||
void Platform_AssertFail (int32 code)
|
||||
{
|
||||
int16 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