From 1c02f18e5b718da36a5d78d29434fea282c67cc4 Mon Sep 17 00:00:00 2001
From: Jan Breuer <jan.breuer@jaybee.cz>
Date: 周一, 21 10月 2013 18:13:17 +0800
Subject: [PATCH] Custom IDN; correct system:version?

---
 examples/common/scpi-def.h |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/examples/common/scpi-def.h b/examples/common/scpi-def.h
index 905aaa4..7de40e8 100644
--- a/examples/common/scpi-def.h
+++ b/examples/common/scpi-def.h
@@ -3,6 +3,10 @@
 
 #include "scpi/scpi.h"
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 extern scpi_t scpi_context;
 
 size_t SCPI_Write(scpi_t * context, const char * data, size_t len);
@@ -15,5 +19,9 @@
 
 scpi_result_t SCPI_SystemCommTcpipControlQ(scpi_t * context);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif // __SCPI_DEF_H_
 

--
Gitblit v1.9.1