1From f738d8ef399b4eda78a521ced66b626cc7a3a02b Mon Sep 17 00:00:00 2001
2From: Michael Forney <mforney@mforney.org>
3Date: Mon, 6 Sep 2021 23:36:31 -0700
4Subject: [PATCH] Only use symbol versioning on GNU-compatible compilers
5
6---
7 lib/fuse_misc.h | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10diff --git a/lib/fuse_misc.h b/lib/fuse_misc.h
11index f956ab7..a86717c 100644
12--- a/lib/fuse_misc.h
13+++ b/lib/fuse_misc.h
14@@ -12,7 +12,7 @@
15 Versioned symbols cannot be used in some cases because it
16 - not supported on MacOSX (in MachO binary format)
17 */
18-#ifndef __APPLE__
19+#if !defined(__APPLE__) && defined(__GNUC__)
20 # if HAVE_SYMVER_ATTRIBUTE
21 # define FUSE_SYMVER(sym1, sym2) __attribute__ ((symver (sym2)))
22 # else
23--
242.32.0
25