better gcc attr() detect
This commit is contained in:
parent
42931c86ca
commit
44f8b0d8ac
@ -95,6 +95,14 @@ extern "C" {
|
||||
# endif
|
||||
#endif /*SWIG*/
|
||||
|
||||
/* Or if this isn't gcc.
|
||||
*/
|
||||
#ifndef __GNUC__
|
||||
# ifndef __attribute__
|
||||
# define __attribute__(x) /*NOTHING*/
|
||||
# endif
|
||||
#endif /*__GNUC__*/
|
||||
|
||||
#include <vips/basic.h>
|
||||
|
||||
#include <vips/buf.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user