# HG changeset patch # User sheepluva # Date 1417235087 -3600 # Node ID cc90ea6448c74965b4c6565310a12fca4d5734af # Parent 0cb20aa8877a2987d925c951270dbd1466874ec5 map halt(t) to exit(t) rather than assert(0). all test cases except gravity pass with pas2c now diff -r 0cb20aa8877a -r cc90ea6448c7 project_files/hwc/rtl/system.h --- a/project_files/hwc/rtl/system.h Sat Nov 29 05:15:27 2014 +0100 +++ b/project_files/hwc/rtl/system.h Sat Nov 29 05:24:47 2014 +0100 @@ -1,6 +1,7 @@ #ifndef SYSTEM_H_ #define SYSTEM_H_ +#include #include #include "Types.h" #include "misc.h" @@ -134,7 +135,8 @@ int fpcrtl_UTF8ToUnicode(PWideChar dest, PChar src, SizeInt maxLen); -#define fpcrtl_halt(t) assert(0) +// #define fpcrtl_halt(t) assert(0) +#define fpcrtl_halt(t) exit(t) #define fpcrtl_Load_GL_VERSION_2_0() 1