From 11589f8abb81be9f89bd0932623c83221aa125ae Mon Sep 17 00:00:00 2001
From: Yabin Li <wucong.lyb@alibaba-inc.com>
Date: 星期四, 16 十一月 2023 09:35:17 +0800
Subject: [PATCH] modify cmakelist & glog for wins (#1094)

---
 runtime/onnxruntime/third_party/glog/src/config.h.cmake.in |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/runtime/onnxruntime/third_party/glog/src/config.h.cmake.in b/runtime/onnxruntime/third_party/glog/src/config.h.cmake.in
index 3fed2a6..9d61010 100644
--- a/runtime/onnxruntime/third_party/glog/src/config.h.cmake.in
+++ b/runtime/onnxruntime/third_party/glog/src/config.h.cmake.in
@@ -130,15 +130,12 @@
 /* define if gmtime_r is available in time.h */
 #cmakedefine HAVE_GMTIME_R
 
-/* define if _chsize_s is available in io.h */
-#cmakedefine HAVE__CHSIZE_S
-
 /* Define to the sub-directory in which libtool stores uninstalled libraries.
    */
 #cmakedefine LT_OBJDIR
 
 /* How to access the PC from a struct ucontext */
-#cmakedefine PC_FROM_UCONTEXT ${PC_FROM_UCONTEXT}
+#cmakedefine PC_FROM_UCONTEXT
 
 /* define if we should print file offsets in traces instead of symbolizing. */
 #cmakedefine PRINT_UNSYMBOLIZED_STACK_TRACES

--
Gitblit v1.9.1