You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dotnet3.0/SOURCES/0001-Fix-re-declarations-of...

26 lines
1.0 KiB

From eefbe5773c60aa0c99b4be7defa8e7ed27644ec6 Mon Sep 17 00:00:00 2001
From: tigro <tigro@msvsphere-os.ru>
Date: Thu, 7 Dec 2023 11:05:45 +0300
Subject: [PATCH] Fix re-declarations of builtin functions with clang 10
---
.../src/pal/inc/pal.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/coreclr.259ce7d4619478cfefe7b0c0f6fa765f765f7e37/src/pal/inc/pal.h b/src/coreclr.259ce7d4619478cfefe7b0c0f6fa765f765f7e37/src/pal/inc/pal.h
index 08a35c8f6..43eb648a1 100644
--- a/src/coreclr.259ce7d4619478cfefe7b0c0f6fa765f765f7e37/src/pal/inc/pal.h
+++ b/src/coreclr.259ce7d4619478cfefe7b0c0f6fa765f765f7e37/src/pal/inc/pal.h
@@ -145,7 +145,7 @@ typedef PVOID NATIVE_LIBRARY_HANDLE;
/******************* Compiler-specific glue *******************************/
#ifndef THROW_DECL
-#if defined(_MSC_VER) || defined(__llvm__) || !defined(__cplusplus)
+#if defined(_MSC_VER) || !defined(__cplusplus)
#define THROW_DECL
#else
#define THROW_DECL throw()
--
2.43.0