The Mac version of GCC can now handle __attribute__ .

This commit is contained in:
Wayne Davison committed 2006-11-09 01:07:35 +00:00
1 parent 2955529bb4
commit 2b916250d8
1 file changed
+1 -4
+1 -4
View File
@@ -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