From 556c5fa8900d14c61544f3ac016d3cca1db5a91a Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Mon, 31 Oct 2011 14:01:28 +0200 Subject: [PATCH] remove GCC visibility pragmas libnotmuch.so.* linking fail on some environments. According to David Bremner on irc: "We jump through hoops with the linker script (notmuch.sym) so the pragmas are not needed. And they are a little bizarre in a library anyway..." --- util/xutil.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/util/xutil.h b/util/xutil.h index 92992564..b84e0e25 100644 --- a/util/xutil.h +++ b/util/xutil.h @@ -25,8 +25,6 @@ #include #include -#pragma GCC visibility push(hidden) - /* xutil.c */ void * xcalloc (size_t nmemb, size_t size); @@ -51,6 +49,4 @@ int xregexec (const regex_t *preg, const char *string, size_t nmatch, regmatch_t pmatch[], int eflags); -#pragma GCC visibility pop - #endif