aboutsummaryrefslogtreecommitdiff
path: root/main/enigma.cpp
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2008-03-25 16:04:14 +0000
committerAndreas Oberritter <obi@opendreambox.org>2008-03-25 16:04:14 +0000
commitbeb356d24edd725c474e159a08b70c1e558ea941 (patch)
tree18b089aa69ce597f022bc5f1413ee4fa2b23502f /main/enigma.cpp
parent055a01deb76a681dda718ec58f972dd20b82a8c3 (diff)
downloadenigma2-beb356d24edd725c474e159a08b70c1e558ea941.tar.gz
enigma2-beb356d24edd725c474e159a08b70c1e558ea941.zip
use global preprocessor constant WITH_SDL instead of SDLDC
Diffstat (limited to 'main/enigma.cpp')
-rw-r--r--main/enigma.cpp6
1 files changed, 1 insertions, 5 deletions
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