From: Adam Russell Date: Fri, 3 Jul 2009 05:35:46 +0000 (-0400) Subject: Osvaldo Villalon's changes to symbian_dll.cpp.=0A= X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3f16acfd45f6cf4dce6b90474f865dee8636a1a0;p=p5sagit%2Fp5-mst-13.2.git Osvaldo Villalon's changes to symbian_dll.cpp.=0A= This patch adds some backwards compatibility for older SDKs. Signed-off-by: H.Merijn Brand --- diff --git a/symbian/symbian_dll.cpp b/symbian/symbian_dll.cpp index a206c99..a1e61a4 100644 --- a/symbian/symbian_dll.cpp +++ b/symbian/symbian_dll.cpp @@ -10,6 +10,12 @@ #include #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); }