-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
From 01d3cd2624dcdb50545fc226548362af4e22c840 Mon Sep 17 00:00:00 2001 | ||
From: Your Name <[email protected]> | ||
Date: Sat, 11 May 2024 04:25:41 +0200 | ||
Subject: [PATCH] x | ||
|
||
--- | ||
libstdc++-v3/include/bits/atomic_base.h | 5 +++++ | ||
1 file changed, 5 insertions(+) | ||
|
||
diff --git a/libstdc++-v3/include/bits/atomic_base.h b/libstdc++-v3/include/bits/atomic_base.h | ||
index dd36030..6f4228e 100644 | ||
--- a/libstdc++-v3/include/bits/atomic_base.h | ||
+++ b/libstdc++-v3/include/bits/atomic_base.h | ||
@@ -48,6 +48,11 @@ | ||
|
||
#include <bits/version.h> | ||
|
||
+bool __not_atomic_test_and_set (volatile void* a, int b) __asm("__atomic_test_and_set") | ||
+{ | ||
+ return 0; | ||
+} | ||
+ | ||
namespace std _GLIBCXX_VISIBILITY(default) | ||
{ | ||
_GLIBCXX_BEGIN_NAMESPACE_VERSION | ||
-- | ||
2.36.6 | ||
|