summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--com32/include/klibc/compiler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/com32/include/klibc/compiler.h b/com32/include/klibc/compiler.h
index 984071f7..2b8e0f6e 100644
--- a/com32/include/klibc/compiler.h
+++ b/com32/include/klibc/compiler.h
@@ -115,6 +115,9 @@
/* Packed structures */
#define __packed __attribute__((packed))
+/* Weak symbols */
+#define __weak __attribute__((weak))
+
/* Alignment */
#define __aligned(x) __attribute__((aligned(x)))
#define __alignas(x) __attribute__((aligned(__alignof__(x))))