From: Wayne Davison Date: Mon, 14 Feb 2005 22:49:51 +0000 (+0000) Subject: Had a report that the __attribute__ code needs to check for X-Git-Tag: v2.6.4pre1~147 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96a8ca6d985e840d34a9152775680626b44f4c07;p=thirdparty%2Frsync.git Had a report that the __attribute__ code needs to check for __APPLE__ being defined, not APPLE. --- diff --git a/rsync.h b/rsync.h index 49034ac5..17f39f13 100644 --- a/rsync.h +++ b/rsync.h @@ -758,7 +758,7 @@ extern int errno; /* handler for null strings in printf format */ #define NS(s) ((s)?safe_fname(s):"") -#if !defined __GNUC__ || defined APPLE +#if !defined __GNUC__ || defined __APPLE__ /* Apparently the OS X port of gcc gags on __attribute__. * * */