mirror of
https://github.com/troglobit/libite.git
synced 2026-11-17 19:30:17 +00:00
Fix #13: Support C-linkage for C++ compilation
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
b15a14e920
commit
7f053f7624
8 files changed
+74
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user