summaryrefslogtreecommitdiff
path: root/symbian/symbian_dll.cpp
diff options
context:
space:
mode:
authorAdam Russell <arussell@cs.uml.edu>2009-07-03 01:35:46 -0400
committerH.Merijn Brand <h.m.brand@xs4all.nl>2009-07-03 13:57:33 +0200
commit3f16acfd45f6cf4dce6b90474f865dee8636a1a0 (patch)
tree5838dd4a28c31542da084c8bd48b1fb6658b23cf /symbian/symbian_dll.cpp
parent7df6222977504e410ceadf36c0e45ae17aacbf21 (diff)
downloadperl-3f16acfd45f6cf4dce6b90474f865dee8636a1a0.tar.gz
Osvaldo Villalon's changes to symbian_dll.cpp.=0A=
This patch adds some backwards compatibility for older SDKs. Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
Diffstat (limited to 'symbian/symbian_dll.cpp')
-rw-r--r--symbian/symbian_dll.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/symbian/symbian_dll.cpp b/symbian/symbian_dll.cpp
index a206c9986c..a1e61a4603 100644
--- a/symbian/symbian_dll.cpp
+++ b/symbian/symbian_dll.cpp
@@ -10,6 +10,12 @@
#include <e32base.h>
#include "PerlBase.h"
+#ifdef __SERIES60_3X__
+EXPORT_C GLDEF_C TInt E32Dll(/*TDllReason aReason*/) { return KErrNone; }
+#else
+EXPORT_C GLDEF_C TInt E32Dll(TDllReason /*aReason*/) { return KErrNone; }
+#endif
+
extern "C" {
EXPORT_C void* symbian_get_vars(void) { return Dll::Tls(); }
EXPORT_C void symbian_set_vars(const void *p) { Dll::SetTls((TAny*)p); }