X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fflexui%2Fsdlcarcass.pas;h=20363e688fd9345414248373f62f4e806974f005;hb=b60024b9a25fbf72f8e83cfe6b023d0cc4f933c5;hp=26bea1f40bd55dee87e093fba95bb116d00f23a7;hpb=92c7868df227201d6914f9f07c9a29ba0e2863cb;p=d2df-sdl.git diff --git a/src/flexui/sdlcarcass.pas b/src/flexui/sdlcarcass.pas index 26bea1f..20363e6 100644 --- a/src/flexui/sdlcarcass.pas +++ b/src/flexui/sdlcarcass.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 @@ -16,6 +15,10 @@ {$INCLUDE ../shared/a_modes.inc} unit sdlcarcass; + {$IFNDEF USE_SDL2} + {$FATAL SDL2 required for flexui sdlcarcass} + {$ENDIF} + interface uses @@ -69,12 +72,11 @@ implementation uses SysUtils, Classes, - {$INCLUDE ../nogl/noGLuses.inc} {$IF DEFINED(LINUX) OR DEFINED(ANDROID)} unixtype, linux {$ELSEIF DEFINED(WINDOWS)} Windows - {$ELSEIF DEFINED(HAIKU)} + {$ELSEIF DEFINED(HAIKU) OR DEFINED(UNIX)} unixtype {$ELSE} {$WARNING You suck!}