project_files/hwc/rtl/system.h
changeset 10566 cc90ea6448c7
parent 10131 4b4a043111f4
child 10838 2abe883c9c21
--- 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 <stdlib.h>
 #include <time.h>
 #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