source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* texi2mdoc: Need this for musl.
@ 2015-02-25 19:46 kristaps
  0 siblings, 0 replies; only message in thread
From: kristaps @ 2015-02-25 19:46 UTC (permalink / raw)
  To: source

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-02-25 19:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-25 19:46 texi2mdoc: Need this for musl kristaps

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).