From: Andreas Oberritter Date: Tue, 25 Mar 2008 16:04:14 +0000 (+0000) Subject: use global preprocessor constant WITH_SDL instead of SDLDC X-Git-Tag: 2.6.0~1447 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/beb356d24edd725c474e159a08b70c1e558ea941 use global preprocessor constant WITH_SDL instead of SDLDC --- diff --git a/lib/gdi/gfbdc.cpp b/lib/gdi/gfbdc.cpp index b6cbc9b0..d2f8dad2 100644 --- a/lib/gdi/gfbdc.cpp +++ b/lib/gdi/gfbdc.cpp @@ -242,6 +242,6 @@ void gFBDC::reloadSettings() } // eAutoInitPtr init_gFBDC(eAutoInitNumbers::graphic-1, "GFBDC"); -#ifndef SDLDC +#ifndef WITH_SDL eAutoInitPtr init_gFBDC(eAutoInitNumbers::graphic-1, "GFBDC"); #endif diff --git a/main/enigma.cpp b/main/enigma.cpp index 6c5169d2..92b24b63 100644 --- a/main/enigma.cpp +++ b/main/enigma.cpp @@ -1,7 +1,3 @@ -#ifdef WITH_SDL -#define SDLDC -#endif - #include #include #include @@ -150,7 +146,7 @@ int main(int argc, char **argv) eMain main; #if 1 -#ifdef SDLDC +#ifdef WITH_SDL ePtr my_dc; gSDLDC::getInstance(my_dc); #else