From 3bb14b5029becec85034f88dd66ca2d027134072 Mon Sep 17 00:00:00 2001
From: cdevelop <cdevelop@qq.com>
Date: 星期三, 11 十月 2023 15:15:14 +0800
Subject: [PATCH] 解决vc编译错误 (#987)

---
 funasr/runtime/onnxruntime/include/funasrruntime.h |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/funasr/runtime/onnxruntime/include/funasrruntime.h b/funasr/runtime/onnxruntime/include/funasrruntime.h
index 14f6122..3b5ae8f 100644
--- a/funasr/runtime/onnxruntime/include/funasrruntime.h
+++ b/funasr/runtime/onnxruntime/include/funasrruntime.h
@@ -18,10 +18,6 @@
 #define FUNASR_CALLBCK_PREFIX __stdcall
 #endif
 
-#ifdef __cplusplus 
-
-extern "C" {
-#endif
 
 typedef void* FUNASR_HANDLE;
 typedef void* FUNASR_RESULT;
@@ -122,7 +118,4 @@
 _FUNASRAPI void				FunTpassUninit(FUNASR_HANDLE handle);
 _FUNASRAPI void				FunTpassOnlineUninit(FUNASR_HANDLE handle);
 
-#ifdef __cplusplus 
 
-}
-#endif

--
Gitblit v1.9.1