summaryrefslogtreecommitdiff
path: root/lib/cdabstract.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cdabstract.cpp')
-rw-r--r--lib/cdabstract.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/cdabstract.cpp b/lib/cdabstract.cpp
index 083aa4d..b79960f 100644
--- a/lib/cdabstract.cpp
+++ b/lib/cdabstract.cpp
@@ -3,9 +3,13 @@
#include "cdreader.h"
Handle * open_iso(const String & nom) {
+#ifdef USE_CDREADER
if (nom.extract(0, 2).toupper() == "CD:") {
return new cdreader(nom.extract(3));
} else {
+#else
+ {
+#endif
return new Input(nom);
}
}