[Nagiosplug-checkins] CVS: nagiosplug/plugins common.h,1.10,1.11

Ton Voon tonvoon at users.sourceforge.net
Fri Oct 24 09:50:02 CEST 2003


Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs1:/tmp/cvs-serv10075

Modified Files:
	common.h 
Log Message:
Ignore __attribute__ for non-GNU compilers


Index: common.h
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/common.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** common.h	16 Sep 2003 12:32:13 -0000	1.10
--- common.h	24 Oct 2003 13:28:24 -0000	1.11
***************
*** 181,182 ****
--- 181,187 ----
  #  define bindtextdomain(Package, Directory)
  #endif
+ 
+ /* For non-GNU compilers to ignore __attribute__ */
+ #ifndef __GNUC__
+ # define __attribute__(x) /* do nothing */
+ #endif





More information about the Commits mailing list