Explorar el Código

* Allow to compile in mode nodejs (workers)

Michael Van Canneyt hace 10 meses
padre
commit
3b3ddc7fca
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      packages/zenfs/src/libzenfs.pas

+ 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;