aboutsummaryrefslogtreecommitdiff
path: root/include/u.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/u.h')
-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));