blob: 02241781d9722817741ba25218904ef42a0ad330 [file] [log] [blame]
Andrew Geisslereff27472021-10-29 15:35:00 -05001From ace5fe19b3f13039d5d6bd5d99d54c20ea79e09c Mon Sep 17 00:00:00 2001
Brad Bishopd7bf8c12018-02-25 22:55:05 -05002From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 10 Jun 2017 01:07:59 -0700
Andrew Geisslereff27472021-10-29 15:35:00 -05004Subject: [PATCH] tc20_verifywrap.c: Fake __GLIBC_PREREQ with musl
Brad Bishopd7bf8c12018-02-25 22:55:05 -05005
6similar to sun
7
8Upstream-Status: Pending
9
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
Andrew Geisslereff27472021-10-29 15:35:00 -050011
Brad Bishopd7bf8c12018-02-25 22:55:05 -050012---
13 helgrind/tests/tc20_verifywrap.c | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/helgrind/tests/tc20_verifywrap.c b/helgrind/tests/tc20_verifywrap.c
Andrew Geisslereff27472021-10-29 15:35:00 -050017index ae97bde..db2eb70 100644
Brad Bishopd7bf8c12018-02-25 22:55:05 -050018--- a/helgrind/tests/tc20_verifywrap.c
19+++ b/helgrind/tests/tc20_verifywrap.c
20@@ -20,7 +20,7 @@
21
Andrew Geisslereff27472021-10-29 15:35:00 -050022 #if !defined(__APPLE__) && !defined(__FreeBSD__)
Brad Bishopd7bf8c12018-02-25 22:55:05 -050023
24-#if defined(__sun__)
25+#if defined(__sun__) || (defined(__linux__) && !defined(__GLIBC__))
26 /* Fake __GLIBC_PREREQ on Solaris. Pretend glibc >= 2.4. */
27 # define __GLIBC_PREREQ
28 #else