DEADSOFTWARE

fix building with holmes on osx
[d2df-sdl.git] / src / flexui / sdlcarcass.pas
index 4bd2a6b135bb91dbd9c57dea5d86689fa3b83b94..247229b88af696d43b157e587f0cdcf09410604d 100644 (file)
@@ -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
@@ -69,16 +68,12 @@ implementation
 
 uses
   SysUtils, Classes,
-  {$IFDEF USE_NANOGL}
-    nanoGL,
-  {$ELSE}
-    GL, GLExt,
-  {$ENDIF}
+  {$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!}