factor out loadPNG into generic LoadPixmap
[enigma2.git] / lib / gdi / sdl.cpp
index bf2b585b1ec3633e20bf6e01ba5ec108c3381959..655fa9333199e86ebcdbf32e4c0a04fa6c47bce6 100644 (file)
@@ -1,3 +1,5 @@
+#ifdef WITH_SDL
+#error
 #include <lib/gdi/sdl.h>
 
 #include <lib/base/init.h>
@@ -82,6 +84,6 @@ void gSDLDC::exec(gOpcode *o)
        }
 }
 
-#ifdef SDLDC
 eAutoInitPtr<gSDLDC> init_gSDLDC(eAutoInitNumbers::graphic-1, "gSDLDC");
+
 #endif