summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoakim Sindholt <opensource@zhasha.com>2017-07-25 10:26:16 +0200
committerJoakim Sindholt <opensource@zhasha.com>2017-07-25 10:26:16 +0200
commitd8f2ffa150ce280acea9e96fe9f896563d7b9abf (patch)
tree6d624eb7d7da3d3aaf780084d1bfea48767ef6c6
parentb20d85d62c922675523e8fe1918643593b3bf804 (diff)
u.h: use __weak__ instead of weak to avoid namespace collisions
-rw-r--r--include/u.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/u.h b/include/u.h
index 5bfa3cf..0b16c2f 100644
--- a/include/u.h
+++ b/include/u.h
@@ -31,4 +31,4 @@ typedef long long vlong;
#define nil ((void *)0)
/* auto-linking stuff */
-#define AUTOLINK(x) int __attribute__((weak)) __p9l_autolink_ ## x;
+#define AUTOLINK(x) int __attribute__((__weak__)) __p9l_autolink_ ## x;