use global preprocessor constant WITH_SDL instead of SDLDC
authorAndreas Oberritter <obi@opendreambox.org>
Tue, 25 Mar 2008 16:04:14 +0000 (16:04 +0000)
committerAndreas Oberritter <obi@opendreambox.org>
Tue, 25 Mar 2008 16:04:14 +0000 (16:04 +0000)
lib/gdi/gfbdc.cpp
main/enigma.cpp

index b6cbc9b..d2f8dad 100644 (file)
@@ -242,6 +242,6 @@ void gFBDC::reloadSettings()
 }
 
 // eAutoInitPtr<gFBDC> init_gFBDC(eAutoInitNumbers::graphic-1, "GFBDC");
 }
 
 // eAutoInitPtr<gFBDC> init_gFBDC(eAutoInitNumbers::graphic-1, "GFBDC");
-#ifndef SDLDC
+#ifndef WITH_SDL
 eAutoInitPtr<gFBDC> init_gFBDC(eAutoInitNumbers::graphic-1, "GFBDC");
 #endif
 eAutoInitPtr<gFBDC> init_gFBDC(eAutoInitNumbers::graphic-1, "GFBDC");
 #endif
index 6c5169d..92b24b6 100644 (file)
@@ -1,7 +1,3 @@
-#ifdef WITH_SDL
-#define SDLDC
-#endif
-
 #include <stdio.h>
 #include <unistd.h>
 #include <libsig_comp.h>
 #include <stdio.h>
 #include <unistd.h>
 #include <libsig_comp.h>
@@ -150,7 +146,7 @@ int main(int argc, char **argv)
        eMain main;
 
 #if 1
        eMain main;
 
 #if 1
-#ifdef SDLDC
+#ifdef WITH_SDL
        ePtr<gSDLDC> my_dc;
        gSDLDC::getInstance(my_dc);
 #else
        ePtr<gSDLDC> my_dc;
        gSDLDC::getInstance(my_dc);
 #else