From 68ca7a52a0f4a5106bc9654edd471dcbcdb5c373 Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 29 Jun 2016 11:08:57 -0400 Subject: added __attr_weak__. --- include/psxtypes/compiler/__psx_compiler_gcc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/psxtypes/compiler/__psx_compiler_gcc.h') diff --git a/include/psxtypes/compiler/__psx_compiler_gcc.h b/include/psxtypes/compiler/__psx_compiler_gcc.h index 6797182..6c22fa2 100644 --- a/include/psxtypes/compiler/__psx_compiler_gcc.h +++ b/include/psxtypes/compiler/__psx_compiler_gcc.h @@ -57,6 +57,7 @@ #define __attr_export__ __attribute__((dllexport)) #define __attr_import__ __attribute__((dllimport)) #define __attr_naked__ +#define __attr_weak__ __attribute__ ((weak)) #define __attr_hidden__ __attribute__ ((visibility("hidden"))) #define __attr_public__ __attribute__ ((visibility("default"))) #define __attr_protected__ __attribute__ ((visibility("protected"))) -- cgit v1.2.3