From 63608bec0e5a7877a44207c1ad53787618036250 Mon Sep 17 00:00:00 2001
From: wzx <wuzx1226@qq.com>
Date: Fri, 28 Oct 2022 10:48:23 +0800
Subject: [PATCH] Add sw64 architecture

Add sw64 architecture in file src/win/util.c to support sw64 architecture.

Signed-off-by: wzx <wuzx1226@qq.com>
---
 src/win/util.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/win/util.c b/src/win/util.c
index 88602c7..8c0aea6 100644
--- a/src/win/util.c
+++ b/src/win/util.c
@@ -1924,6 +1924,10 @@ int uv_os_uname(uv_utsname_t* buffer) {
     case PROCESSOR_ARCHITECTURE_MIPS:
       uv__strscpy(buffer->machine, "mips", sizeof(buffer->machine));
       break;
+    case PROCESSOR_ARCHITECTURE_SW_64:
+    case PROCESSOR_ARCHITECTURE_SW_6464:
+      uv__strscpy(buffer->machine, "sw_64", sizeof(buffer->machine));
+      break;
     case PROCESSOR_ARCHITECTURE_ALPHA:
     case PROCESSOR_ARCHITECTURE_ALPHA64:
       uv__strscpy(buffer->machine, "alpha", sizeof(buffer->machine));
-- 
2.33.0

