aboutsummaryrefslogtreecommitdiff
path: root/include/u.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/u.h')
-rw-r--r--include/u.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/u.h b/include/u.h
index ba936960..d062a9db 100644
--- a/include/u.h
+++ b/include/u.h
@@ -111,6 +111,11 @@ typedef short s16int;
#undef _NEEDUINT
#undef _NEEDULONG
+/*
+ * Funny-named symbols to tip off 9l to autolink.
+ */
+#define AUTOLIB(x) static int __p9l_autolib_ ## x = 1;
+
#if defined(__cplusplus)
}
#endif