summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/compiler.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/compiler.h b/src/include/compiler.h
index a830239009..e088eb1a51 100644
--- a/src/include/compiler.h
+++ b/src/include/compiler.h
@@ -25,5 +25,6 @@
#define __aligned(x) __attribute__((aligned(x)))
#define __always_unused __attribute__((unused))
#define __must_check __attribute__((warn_unused_result))
+#define __weak __attribute__((weak))
#endif