This patch adds some backwards compatibility for older
SDKs.
Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
#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); }