From 77a526388df1da0a70dfe28185c01273e9736334 Mon Sep 17 00:00:00 2001 From: Laurence Withers Date: Sat, 5 Jul 2014 11:05:34 +0000 Subject: [PATCH] Add C++ include guards --- src/libiir/000_TopHeader.h | 4 ++++ src/libiir/999_BottomHeader.h | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/libiir/000_TopHeader.h b/src/libiir/000_TopHeader.h index 027d784..fedd597 100644 --- a/src/libiir/000_TopHeader.h +++ b/src/libiir/000_TopHeader.h @@ -11,6 +11,10 @@ /* standard includes, or includes needed for type declarations */ #include +#ifdef __cplusplus +extern "C" { +#endif + /* options for text editors vim: expandtab:ts=4:sw=4:syntax=c.doxygen */ diff --git a/src/libiir/999_BottomHeader.h b/src/libiir/999_BottomHeader.h index 731ec5a..f8e0f79 100644 --- a/src/libiir/999_BottomHeader.h +++ b/src/libiir/999_BottomHeader.h @@ -5,6 +5,10 @@ * License: GPLv3 */ +#ifdef __cplusplus +} +#endif + #endif /* options for text editors