-
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
1 deletion.
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 7fea3508c485657a3e8f9af8c34452a9955a297a Mon Sep 17 00:00:00 2001 | ||
From: Your Name <[email protected]> | ||
Date: Fri, 10 May 2024 20:16:43 +0200 | ||
Subject: [PATCH] x | ||
|
||
--- | ||
libatomic/tas_n.c | 5 ++++- | ||
1 file changed, 4 insertions(+), 1 deletion(-) | ||
|
||
diff --git a/libatomic/tas_n.c b/libatomic/tas_n.c | ||
index 4a01cd2..0e399ab 100644 | ||
--- a/libatomic/tas_n.c | ||
+++ b/libatomic/tas_n.c | ||
@@ -23,7 +23,10 @@ | ||
<http://www.gnu.org/licenses/>. */ | ||
|
||
#include "libatomic_i.h" | ||
- | ||
+int __atomic_test_and_set (void* a, int b) | ||
+{ | ||
+ return 0: | ||
+} | ||
|
||
/* If we support the builtin, just use it. */ | ||
#if !DONE && SIZE(HAVE_ATOMIC_TAS) | ||
-- | ||
2.36.6 | ||
|