aboutsummaryrefslogtreecommitdiff
path: root/backends/epoc/ScummApp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/epoc/ScummApp.cpp')
-rw-r--r--backends/epoc/ScummApp.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/backends/epoc/ScummApp.cpp b/backends/epoc/ScummApp.cpp
index f4caa7ea33..408d52550f 100644
--- a/backends/epoc/ScummApp.cpp
+++ b/backends/epoc/ScummApp.cpp
@@ -29,7 +29,8 @@ extern "C" int _chkstk(int /*a*/) {
return 1;
}
#endif
-#if !defined (__AVKON_ELAF__) && !defined (S60)
+
+#ifdef EPOC_AS_APP
// this function is called by Symbian to deliver the new CApaApplication object
EXPORT_C CApaApplication* NewApplication() {
// Return pointer to newly created CQMApp