summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/psxtypes/compiler/__nt_compiler_clang.h1
-rw-r--r--include/psxtypes/compiler/__nt_compiler_gcc.h1
-rw-r--r--include/psxtypes/compiler/__nt_compiler_msvc.h1
-rw-r--r--include/psxtypes/compiler/__psx_compiler_gcc.h1
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")))