2
0
Эх сурвалжийг харах

* Allow to compile in mode nodejs (workers)

Michael Van Canneyt 10 сар өмнө
parent
commit
3b3ddc7fca

+ 3 - 0
packages/zenfs/src/libzenfs.pas

@@ -413,7 +413,10 @@ Type
     class function With_ (code : String; Path, SysCall : String) : TZenFSErrnoError external name 'With';
     errno : integer;
     code : string;
+    {$IFNDEF NodeJS}
+    // Already in TJSError for nodejs
     stack : string;
+    {$ENDIF}
     function toJSON : TJSObject;
     function toString : string; reintroduce;
     function bufferSize : integer;