From be7ddfc4cd020ce47dfa35783307b880e952c050 Mon Sep 17 00:00:00 2001
From: cdevelop <cdevelop@qq.com>
Date: 星期一, 13 十一月 2023 16:15:05 +0800
Subject: [PATCH] runtime windows build (#1082)
---
runtime/onnxruntime/third_party/glog/src/utilities.h | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/runtime/onnxruntime/third_party/glog/src/utilities.h b/runtime/onnxruntime/third_party/glog/src/utilities.h
index 45e555b..ae34d8d 100644
--- a/runtime/onnxruntime/third_party/glog/src/utilities.h
+++ b/runtime/onnxruntime/third_party/glog/src/utilities.h
@@ -29,7 +29,7 @@
//
// Author: Shinichiro Hamaji
//
-// Define utilties for glog internal usage.
+// Define utilities for glog internal usage.
#ifndef UTILITIES_H__
#define UTILITIES_H__
@@ -52,11 +52,10 @@
#define PRIXS __PRIS_PREFIX "X"
#define PRIoS __PRIS_PREFIX "o"
-#include "base/mutex.h" // This must go first so we get _XOPEN_SOURCE
-
#include <string>
-#include <glog/logging.h>
+#include "base/mutex.h" // This must go first so we get _XOPEN_SOURCE
+#include "glog/logging.h"
#if defined(GLOG_OS_WINDOWS)
# include "port.h"
@@ -174,7 +173,7 @@
:"=a"(ret)
// GCC may produces %sil or %dil for
// constraint "r", but some of apple's gas
- // dosn't know the 8 bit registers.
+ // doesn't know the 8 bit registers.
// We use "q" to avoid these registers.
:"q"(newval), "q"(ptr), "a"(oldval)
:"memory", "cc");
--
Gitblit v1.9.1