DEADSOFTWARE

tools: fix build with sdl2
[d2df-sdl.git] / src / tools / mapgen.dpr
index 40ac72ce915865d1cc712111c3b0021f1367c09e..cdb4d3551d9accdaf25ce4328c7aabc45c6d5076 100644 (file)
@@ -5,6 +5,12 @@
 
 uses
   SysUtils, Classes,
+  {$IFDEF USE_SDL}
+    SDL in '../lib/sdl/sdl.pas',
+  {$ENDIF}
+  {$IFDEF USE_SDL2}
+    SDL2 in '../lib/sdl2/sdl2.pas',
+  {$ENDIF}
   mempool in '../shared/mempool.pas',
   xstreams in '../shared/xstreams.pas',
   xparser in '../shared/xparser.pas',