diff --git a/src/tools/wadcvt.dpr b/src/tools/wadcvt.dpr
index 59df44ea7e5b8e23dd20d26222d26a7319d8139a..8f2715279741e8eb8a9403027e287757533f7086 100644 (file)
--- a/src/tools/wadcvt.dpr
+++ b/src/tools/wadcvt.dpr
*
* 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
uses
SysUtils,
Classes,
+ {$IFDEF USE_SDL}
+ SDL in '../lib/sdl/sdl.pas',
+ {$ENDIF}
+ {$IFDEF USE_SDL2}
+ SDL2 in '../lib/sdl2/sdl2.pas',
+ {$ENDIF}
+ {$I ../shared/vampimg.inc}
mempool in '../shared/mempool.pas',
utils in '../shared/utils.pas',
xstreams in '../shared/xstreams.pas',
conbuf in '../shared/conbuf.pas',
MAPDEF in '../shared/MAPDEF.pas',
CONFIG in '../shared/CONFIG.pas',
- e_log in '../engine/e_log.pas',
- ImagingTypes, Imaging, ImagingUtility;
+ e_log in '../engine/e_log.pas';
{.$WARNINGS ON}
Move(fu[1], result[9], length(fu));
end;
{$ELSE}
-const UtfFlags = (1 shl 10); // bit 11
+const UtfFlags = (1 shl 11); // bit 11
{$ENDIF}
function ZipOne (ds: TStream; fname: AnsiString; st: TStream; dopack: Boolean=true): TFileInfo;