aboutsummaryrefslogtreecommitdiffstats
path: root/testing/sbcl/0004-Only-include-old-memcpy-version-on-glibc.patch
blob: f5685cdc604327ce6cd6872bbdb9b63c88bcba40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#2020/01/30 Patch has not yet been accepted upstream
From 5d7395cbd4eb952d4a988c4ee7ee3f5111a9f5a7 Mon Sep 17 00:00:00 2001
From: Eric Timmons <etimmons@mit.edu>
Date: Sat, 1 Feb 2020 17:34:10 -0500
Subject: [PATCH 4/5] Only include old memcpy version on glibc

---
 src/runtime/memcpy.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/runtime/memcpy.h b/src/runtime/memcpy.h
index a99c5fb7e..e3d104e3a 100644
--- a/src/runtime/memcpy.h
+++ b/src/runtime/memcpy.h
@@ -1,3 +1,4 @@
+#ifdef __GLIBC__
 #ifdef __linux__
 #ifdef __amd64__
 #ifdef __ASSEMBLER__
@@ -14,3 +15,4 @@ __asm__(".symver memcpy,memcpy@GLIBC_2.0");
 #endif
 #endif
 #endif
+#endif
-- 
2.25.0