From 9d7a2e6e3c1ae32728214346ee014c493bddb347 Mon Sep 17 00:00:00 2001 From: wkj Date: Mon, 2 May 2005 18:08:03 +0000 Subject: Placate older versions of gcc. --- include/u.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/u.h b/include/u.h index ccadff00..b9f07c40 100644 --- a/include/u.h +++ b/include/u.h @@ -137,6 +137,9 @@ typedef short s16int; # if __GNUC__ >= 3 # undef AUTOLIB # define AUTOLIB(x) int __p9l_autolib_ ## x __attribute__ ((weak)); +# else +# undef AUTOLIB +# define AUTOLIB(x) static int __p9l_autolib_ ## x __attribute__ ((unused)); # endif #endif -- cgit v1.2.3