From ace5fe19b3f13039d5d6bd5d99d54c20ea79e09c Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Sat, 10 Jun 2017 01:07:59 -0700
Subject: [PATCH] tc20_verifywrap.c: Fake __GLIBC_PREREQ with musl

similar to sun

Upstream-Status: Pending

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 helgrind/tests/tc20_verifywrap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/helgrind/tests/tc20_verifywrap.c b/helgrind/tests/tc20_verifywrap.c
index ae97bde..db2eb70 100644
--- a/helgrind/tests/tc20_verifywrap.c
+++ b/helgrind/tests/tc20_verifywrap.c
@@ -20,7 +20,7 @@
 
 #if !defined(__APPLE__) && !defined(__FreeBSD__)
 
-#if defined(__sun__)
+#if defined(__sun__) || (defined(__linux__) && !defined(__GLIBC__))
 /* Fake __GLIBC_PREREQ on Solaris. Pretend glibc >= 2.4. */
 # define __GLIBC_PREREQ
 #else
