git-svn-id: branches/wasm@47952 -
@@ -13,6 +13,7 @@ type
procedure fpc_lib_exit; compilerproc;
procedure DebugWrite(const P: PChar);
+procedure DebugWriteChar(Ch: Char);
implementation
@@ -54,6 +55,15 @@ begin
fd_write(1, @our_iov, 1, @our_nwritten);
end;
+var
+ CharArr: array [0..1] of Char;
+begin
+ CharArr[0] := Ch;
+ CharArr[1] := #0;
+ DebugWrite(@CharArr);
+end;
+
begin