remove #error, because sdl.cpp isn't even included in the makefile for now
[enigma2.git] / lib / gdi / sdl.cpp
index bf2b585b1ec3633e20bf6e01ba5ec108c3381959..6dbdb67c23dccdffbd9d9613d00c1fa9393898c9 100644 (file)
@@ -1,3 +1,4 @@
+#ifdef WITH_SDL
 #include <lib/gdi/sdl.h>
 
 #include <lib/base/init.h>
@@ -82,6 +83,6 @@ void gSDLDC::exec(gOpcode *o)
        }
 }
 
-#ifdef SDLDC
 eAutoInitPtr<gSDLDC> init_gSDLDC(eAutoInitNumbers::graphic-1, "gSDLDC");
+
 #endif