From b8f742db850ffc99333a97ab54fc820c6de0fd98 Mon Sep 17 00:00:00 2001 From: rsc Date: Tue, 11 Jan 2005 17:43:53 +0000 Subject: os x changes --- include/u.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/u.h b/include/u.h index df82ac59..af9746a4 100644 --- a/include/u.h +++ b/include/u.h @@ -120,7 +120,7 @@ typedef short s16int; /* * Gcc 3 is too smart for its own good. */ -#if defined(__GNUC__) +#if defined(__GNUC__) && !defined(__APPLE_CC__) # if __GNUC__ >= 3 # undef AUTOLIB # define AUTOLIB(x) int __p9l_autolib_ ## x __attribute__ ((weak)); -- cgit v1.2.3