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 b6cbc9b003bd7b39b5c1bacff9c6a94469de3ba9..d2f8dad25462f4b1677b401ad88fbc7c475fd736 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 6c5169d2e23dab04b66a559ca13aafce56e35cdc..92b24b631ef7013b835d3b4d129ed89b7656f415 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