X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fengine%2Fe_log.pas;h=7159c18445614beaff3ba4fc3f534df33d2cf474;hb=96433b6928f0d3de3a7bb69b97008b17bff22b58;hp=186e1bd924a2ae3f0753c95380d5ed6434c18ca0;hpb=c168722184f9b1f956510f09dac75288c1064682;p=d2df-sdl.git diff --git a/src/engine/e_log.pas b/src/engine/e_log.pas index 186e1bd..7159c18 100644 --- a/src/engine/e_log.pas +++ b/src/engine/e_log.pas @@ -2,8 +2,7 @@ * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * the Free Software Foundation, version 3 of the License ONLY. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -43,18 +42,15 @@ procedure e_InitWritelnDriver (); procedure e_LogWritefln (const fmt: AnsiString; args: array of const; category: TMsgType=TMsgType.Notify; writeTime: Boolean=true; writeConsole: Boolean=true); procedure e_LogWriteln (const s: AnsiString; category: TMsgType=TMsgType.Notify; writeTime: Boolean=true); - procedure e_WriteStackTrace (const msg: AnsiString); - -var - e_WriteToStdOut: Boolean = False; - - implementation uses - SDL2, conbuf, utils; + {$IFDEF ANDROID} + SDL2, + {$ENDIF} + conbuf, utils; var FirstRecord: Boolean;