diff options
author | midipix <writeonce@midipix.org> | 2016-06-29 11:08:57 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-06-29 11:08:57 -0400 |
commit | 68ca7a52a0f4a5106bc9654edd471dcbcdb5c373 (patch) | |
tree | 44b8a7b989d5c2f94f1ca481c4b5c7943b86b841 | |
parent | 2184c4043cb7e8ce93b9b09a29cecbc7c6c748bb (diff) | |
download | psxtypes-68ca7a52a0f4a5106bc9654edd471dcbcdb5c373.tar.bz2 psxtypes-68ca7a52a0f4a5106bc9654edd471dcbcdb5c373.tar.xz |
added __attr_weak__.
-rw-r--r-- | include/psxtypes/compiler/__nt_compiler_clang.h | 1 | ||||
-rw-r--r-- | include/psxtypes/compiler/__nt_compiler_gcc.h | 1 | ||||
-rw-r--r-- | include/psxtypes/compiler/__nt_compiler_msvc.h | 1 | ||||
-rw-r--r-- | include/psxtypes/compiler/__psx_compiler_gcc.h | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/include/psxtypes/compiler/__nt_compiler_clang.h b/include/psxtypes/compiler/__nt_compiler_clang.h index 531153e..1d4080e 100644 --- a/include/psxtypes/compiler/__nt_compiler_clang.h +++ b/include/psxtypes/compiler/__nt_compiler_clang.h @@ -74,6 +74,7 @@ #define __attr_export__ __declspec(dllexport) #define __attr_import__ __declspec(dllimport) #define __attr_naked__ __declspec(naked) +#define __attr_weak__ __attribute__((weak)) #ifdef __PE_VISIBILITY__ #define __attr_hidden__ __attribute__((visibility("hidden"))) diff --git a/include/psxtypes/compiler/__nt_compiler_gcc.h b/include/psxtypes/compiler/__nt_compiler_gcc.h index 4c80398..b5e59f6 100644 --- a/include/psxtypes/compiler/__nt_compiler_gcc.h +++ b/include/psxtypes/compiler/__nt_compiler_gcc.h @@ -65,6 +65,7 @@ #define __attr_export__ __attribute__((dllexport)) #define __attr_import__ __attribute__((dllimport)) #define __attr_naked__ +#define __attr_weak__ __attribute__((weak)) #ifdef __PE_VISIBILITY__ #define __attr_hidden__ __attribute__((visibility("hidden"))) diff --git a/include/psxtypes/compiler/__nt_compiler_msvc.h b/include/psxtypes/compiler/__nt_compiler_msvc.h index 2a0e8dc..cc8160e 100644 --- a/include/psxtypes/compiler/__nt_compiler_msvc.h +++ b/include/psxtypes/compiler/__nt_compiler_msvc.h @@ -76,6 +76,7 @@ #define __attr_export__ __declspec(dllexport) #define __attr_import__ __declspec(dllimport) #define __attr_naked__ __declspec(naked) +#define __attr_weak__ #ifdef __PE_VISIBILITY__ #define __attr_hidden__ __attribute__((visibility("hidden"))) 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"))) |