Define __WEAK__, to complete the fix for Bug 339 CompilerCompatibility
authorWilliam Roberts <williamr@symbian.org>
Mon, 08 Mar 2010 11:57:08 +0000
branchCompilerCompatibility
changeset 74 741dcdf88ba9
parent 70 3f73f939db10
child 75 2ee5df201f60
child 77 c4d65d91ad0c
Define __WEAK__, to complete the fix for Bug 339
kernel/eka/compsupp/gcce/gcce.h
kernel/eka/compsupp/rvct.h
--- a/kernel/eka/compsupp/gcce/gcce.h	Mon Mar 01 14:54:20 2010 +0000
+++ b/kernel/eka/compsupp/gcce/gcce.h	Mon Mar 08 11:57:08 2010 +0000
@@ -97,6 +97,7 @@
 // __NAKED__ from cpudefs.h
 #define __NAKED__ __declspec(naked)
 #define ____ONLY_USE_NAKED_IN_CIA____ __declspec(naked)
+#define __WEAK__  __attribute__((weak))
 
 // Int64 and Uint64 from nkern\nklib.h
 typedef long long Int64;
--- a/kernel/eka/compsupp/rvct.h	Mon Mar 01 14:54:20 2010 +0000
+++ b/kernel/eka/compsupp/rvct.h	Mon Mar 08 11:57:08 2010 +0000
@@ -116,6 +116,7 @@
 // __NAKED__ from cpudefs.h
 #define __NAKED__ __asm
 #define ____ONLY_USE_NAKED_IN_CIA____ __asm
+#define __WEAK__  __attribute__((weak))
 
 // Int64 and Uint64 from nkern\nklib.h
 typedef long long Int64;