From e36eb24820f9349591e20c57944ab8f713ccc9f7 Mon Sep 17 00:00:00 2001
From: Sun Haiyong <sunhaiyong@loongson.cn>
Date: Wed, 22 Dec 2021 15:32:37 +0800
Subject: [PATCH] Add loongarch support.

Signed-off-by: Wenlong Zhang <zhangwenlong@loongson.cn>
---
 double-conversion/utils.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/double-conversion/utils.h b/double-conversion/utils.h
index 4328344..72f1df8 100644
--- a/double-conversion/utils.h
+++ b/double-conversion/utils.h
@@ -93,6 +93,7 @@ int main(int argc, char** argv) {
 #if defined(_M_X64) || defined(__x86_64__) || \
     defined(__ARMEL__) || defined(__avr32__) || defined(_M_ARM) || defined(_M_ARM64) || \
     defined(__hppa__) || defined(__ia64__) || \
+    defined(__loongarch64) || \
     defined(__mips__) || \
     defined(__powerpc__) || defined(__ppc__) || defined(__ppc64__) || \
     defined(_POWER) || defined(_ARCH_PPC) || defined(_ARCH_PPC64) || \
-- 
2.30.0
