From: ian Date: Wed, 14 Jul 1999 22:47:16 +0000 (+0000) Subject: Add extern "C" for C++. X-Git-Tag: wip.base.getaddrinfo~321 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=620494928191f0e61a14893d3345a0ecd84468bf;p=adns.git Add extern "C" for C++. --- diff --git a/src/adns.h b/src/adns.h index 9408553..c0e4fcc 100644 --- a/src/adns.h +++ b/src/adns.h @@ -19,11 +19,14 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * - * $Id: adns.h,v 1.53 1999/07/14 22:45:08 ian Exp $ + * $Id: adns.h,v 1.54 1999/07/14 22:47:16 ian Exp $ */ #ifndef ADNS_H_INCLUDED #define ADNS_H_INCLUDED +#ifdef __cplusplus +extern "C" { /* I really dislike this - iwj. */ +#endif #include @@ -564,4 +567,7 @@ const char *adns_errabbrev(adns_status st); * not returned by the same adns library. */ +#ifdef __cplusplus +} /* end of extern "C" */ +#endif #endif