From 95bf7b2fd406505c9b7ca8bf84519c605a41c761 Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Fri, 24 Oct 2003 13:28:24 +0000 Subject: Ignore __attribute__ for non-GNU compilers git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@753 f882894a-f735-0410-b71e-b25c423dba1c diff --git a/plugins/common.h b/plugins/common.h index 0c21fbe..3e89252 100644 --- a/plugins/common.h +++ b/plugins/common.h @@ -180,3 +180,8 @@ enum { # define textdomain(Domain) # define bindtextdomain(Package, Directory) #endif + +/* For non-GNU compilers to ignore __attribute__ */ +#ifndef __GNUC__ +# define __attribute__(x) /* do nothing */ +#endif -- cgit v0.10-9-g596f