소스 검색

+ added argc and argv (not yet initialized), so that unit objpas compiles

git-svn-id: branches/wasm@48347 -
nickysn 4 년 전
부모
커밋
6f20e32ddd
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      rtl/wasi/system.pp

+ 4 - 0
rtl/wasi/system.pp

@@ -33,6 +33,10 @@ const
   sLineBreak = LineEnding;
   DefaultTextLineBreakStyle : TTextLineBreakStyle = tlbsLF;
 
+var
+  argc: longint;
+  argv: PPChar;
+
 procedure DebugWrite(const P: PChar);
 procedure DebugWriteLn(const P: PChar);
 procedure DebugWriteChar(Ch: Char);