Fix #13: Support C-linkage for C++ compilation

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2019-05-24 21:57:57 +02:00
1 parent b15a14e920
commit 7f053f7624
8 files changed
+74

No files matched your search

+9
View File
@@ -15,6 +15,11 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#ifdef __cplusplus
extern "C"
{
#endif
#ifndef CONIO_H_
#define CONIO_H_
@@ -88,6 +93,10 @@ static inline void printheader(FILE *fp, const char *line, int nl)
#endif /* CONIO_H_ */
#ifdef __cplusplus
}
#endif
/**
* Local Variables:
* indent-tabs-mode: t