From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from localhost (fantadrom.bsd.lv [local]); by fantadrom.bsd.lv (OpenSMTPD) with ESMTPA id 4613fb95; for ; Wed, 25 Feb 2015 14:46:29 -0500 (EST) Date: Wed, 25 Feb 2015 14:46:29 -0500 (EST) Message-Id: <2906639577393358131.enqueue@fantadrom.bsd.lv> X-Mailinglist: mdocml-source Reply-To: source@mdocml.bsd.lv MIME-Version: 1.0 From: kristaps@mdocml.bsd.lv To: source@mdocml.bsd.lv Subject: texi2mdoc: Need this for musl. X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Log Message: ----------- Need this for musl. From a question raised by Svyatoslav Mishyn--thanks! Modified Files: -------------- texi2mdoc: extern.h Revision Data ------------- Index: extern.h =================================================================== RCS file: /home/cvs/mdocml/texi2mdoc/extern.h,v retrieving revision 1.16 retrieving revision 1.17 diff -Lextern.h -Lextern.h -u -p -r1.16 -r1.17 --- extern.h +++ extern.h @@ -17,6 +17,21 @@ #ifndef EXTERN_H #define EXTERN_H +#if !defined(__BEGIN_DECLS) +# ifdef __cplusplus +# define __BEGIN_DECLS extern "C" { +# else +# define __BEGIN_DECLS +# endif +#endif +#if !defined(__END_DECLS) +# ifdef __cplusplus +# define __END_DECLS } +# else +# define __END_DECLS +# endif +#endif + /* * This defines each one of the Texinfo commands that we understand. * Obviously this only refers to native commands; overriden names are a -- To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv