Explorar o código

* fixed compilation of the embedded target

git-svn-id: branches/wasm@48462 -
nickysn %!s(int64=4) %!d(string=hai) anos
pai
achega
cfc9838349
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      rtl/wasm32/setjump.inc

+ 2 - 0
rtl/wasm32/setjump.inc

@@ -22,6 +22,8 @@ function fpc_setjmp(var S : jmp_buf) : longint;[Public, alias : 'FPC_SETJMP'];co
 
 procedure fpc_longjmp(var S : jmp_buf;value : longint);[Public, alias : 'FPC_LONGJMP'];compilerproc;
   begin
+{$ifndef embedded}
     DebugWriteLn('LONGJMP not supported in WebAssembly!!!');
+{$endif embedded}
     fpc_wasm32_unreachable;
   end;