better gcc detect
This commit is contained in:
parent
1384f9d4e0
commit
b586f31bf0
@ -95,6 +95,14 @@ extern "C" {
|
|||||||
# endif
|
# endif
|
||||||
#endif /*SWIG*/
|
#endif /*SWIG*/
|
||||||
|
|
||||||
|
/* If this isn't gcc, turn off attributes.
|
||||||
|
*/
|
||||||
|
#ifndef __GNUC__
|
||||||
|
# ifndef __attribute__
|
||||||
|
# define __attribute__(x) /*NOTHING*/
|
||||||
|
# endif
|
||||||
|
#endif /*__GNUC__*/
|
||||||
|
|
||||||
#include <vips/basic.h>
|
#include <vips/basic.h>
|
||||||
|
|
||||||
#include <vips/buf.h>
|
#include <vips/buf.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user