diff options
| author | Andreas Oberritter <obi@opendreambox.org> | 2008-03-25 16:04:14 +0000 |
|---|---|---|
| committer | Andreas Oberritter <obi@opendreambox.org> | 2008-03-25 16:04:14 +0000 |
| commit | beb356d24edd725c474e159a08b70c1e558ea941 (patch) | |
| tree | 18b089aa69ce597f022bc5f1413ee4fa2b23502f | |
| parent | 055a01deb76a681dda718ec58f972dd20b82a8c3 (diff) | |
| download | enigma2-beb356d24edd725c474e159a08b70c1e558ea941.tar.gz enigma2-beb356d24edd725c474e159a08b70c1e558ea941.zip | |
use global preprocessor constant WITH_SDL instead of SDLDC
| -rw-r--r-- | lib/gdi/gfbdc.cpp | 2 | ||||
| -rw-r--r-- | main/enigma.cpp | 6 |
2 files changed, 2 insertions, 6 deletions
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<gFBDC> init_gFBDC(eAutoInitNumbers::graphic-1, "GFBDC"); -#ifndef SDLDC +#ifndef WITH_SDL eAutoInitPtr<gFBDC> 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 <stdio.h> #include <unistd.h> #include <libsig_comp.h> @@ -150,7 +146,7 @@ int main(int argc, char **argv) eMain main; #if 1 -#ifdef SDLDC +#ifdef WITH_SDL ePtr<gSDLDC> my_dc; gSDLDC::getInstance(my_dc); #else |
