From: Stefan Pluecken Date: Sat, 13 Aug 2005 00:03:03 +0000 (+0000) Subject: #ifdeffing the sdl-stuff X-Git-Tag: 2.6.0~5767 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/b7284f749bb4637604e5d4d96272e3f1847055f0 #ifdeffing the sdl-stuff --- diff --git a/lib/gdi/sdl.cpp b/lib/gdi/sdl.cpp index 591487f4..10513ae5 100644 --- a/lib/gdi/sdl.cpp +++ b/lib/gdi/sdl.cpp @@ -1,3 +1,5 @@ +#ifdef WITH_SDL + #include #include @@ -83,3 +85,5 @@ void gSDLDC::exec(gOpcode *o) } eAutoInitPtr init_gSDLDC(eAutoInitNumbers::graphic-1, "gSDLDC"); + +#endif diff --git a/main/enigma.cpp b/main/enigma.cpp index 9647dea9..0a8fe82f 100644 --- a/main/enigma.cpp +++ b/main/enigma.cpp @@ -1,4 +1,6 @@ +#ifdef WITH_SDL #define SDLDC +#endif #include #include #include @@ -10,7 +12,9 @@ #include #include +#ifdef WITH_SDL #include +#endif #include #include