DEADSOFTWARE

Fix textures with nanoGL, disable particles with nanoGL and comment regressions with...
[d2df-sdl.git] / src / engine / e_log.pas
index 8ffb75d0d852147ac6cc227e63ceded7cc7123a0..e2a88e08b66305dfebdc895eab2bfc17a40c9cdf 100644 (file)
@@ -89,7 +89,9 @@ var
   ss: ShortString;
   slen: Integer;
   b: PByte;
+{$IFDEF ANDROID}
   cstr: PChar;
+{$ENDIF}
 begin
   if (len < 1) then exit;
   b := PByte(@buf);
@@ -101,7 +103,7 @@ begin
   cstr[slen + 1] := #0;
   SDL_Log(cstr, []);
   Dispose(cstr);
-{$ENDIF ANDROID}
+{$ENDIF}
 
   while (len > 0) do
   begin