aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-01-11 17:43:53 +0000
committerrsc <devnull@localhost>2005-01-11 17:43:53 +0000
commitb8f742db850ffc99333a97ab54fc820c6de0fd98 (patch)
tree9096b9872c0e65a3f1f3cdd7b993c58411d20e5e /include
parent530d00164177fd68e2aeb403e7b9be31823e3168 (diff)
downloadplan9port-b8f742db850ffc99333a97ab54fc820c6de0fd98.tar.gz
plan9port-b8f742db850ffc99333a97ab54fc820c6de0fd98.tar.bz2
plan9port-b8f742db850ffc99333a97ab54fc820c6de0fd98.zip
os x changes
Diffstat (limited to 'include')
-rw-r--r--include/u.h2
1 files changed, 1 insertions, 1 deletions
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));