The Mac version of GCC can now handle __attribute__ .
authorWayne Davison <wayned@samba.org>
Thu, 9 Nov 2006 01:07:35 +0000 (01:07 +0000)
committerWayne Davison <wayned@samba.org>
Thu, 9 Nov 2006 01:07:35 +0000 (01:07 +0000)
rsync.h

diff --git a/rsync.h b/rsync.h
index a366f8a..a70c241 100644 (file)
--- a/rsync.h
+++ b/rsync.h
@@ -659,10 +659,7 @@ struct chmod_mode_struct;
 #include "lib/permstring.h"
 #include "lib/addrinfo.h"
 
-#if !defined __GNUC__ || defined __APPLE__
-/* Apparently the OS X port of gcc gags on __attribute__.
- *
- * <http://www.opensource.apple.com/bugs/X/gcc/2512150.html> */
+#ifndef __GNUC__
 #define __attribute__(x)
 #endif