[Nagiosplug-checkins] CVS: nagiosplug/plugins common.h,1.2,1.3
Karl DeBisschop
kdebisschop at users.sourceforge.net
Tue Apr 8 20:45:06 CEST 2003
Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs1:/tmp/cvs-serv12781/plugins
Modified Files:
common.h
Log Message:
rewrite #elif to be compatible with traditional C
Index: common.h
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/common.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** common.h 18 Mar 2003 07:57:00 -0000 1.2
--- common.h 9 Apr 2003 03:44:29 -0000 1.3
***************
*** 79,86 ****
#if HAVE_LWRES_NETDB_H
#include <lwres/netdb.h>
- #elif !HAVE_GETADDRINFO
- #include "getaddrinfo.h"
#else
! #include <netdb.h>
#endif
--- 79,88 ----
#if HAVE_LWRES_NETDB_H
#include <lwres/netdb.h>
#else
! # if !HAVE_GETADDRINFO
! # include "getaddrinfo.h"
! # else
! # include <netdb.h>
! # endif
#endif
More information about the Commits
mailing list