summaryrefslogtreecommitdiff
path: root/onlineupdate/source/update
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2015-07-03 13:46:38 +0200
committerJan Holesovsky <kendy@collabora.com>2015-07-03 13:49:20 +0200
commit025952f52767fb3508a6725468fe4b1e6ce4c9b1 (patch)
treea759ba29c5f60ab221f6fe03e752f9bfef3cc613 /onlineupdate/source/update
parent7eb863d6b6258f31343d4b0b82038afe5e036bc0 (diff)
online update: Make the 'updater' build & link at least on Linux.
Works with the non-system bzip2; the --with-system case might still need some love - but then again, distros want to have the online update switched off anyway... Change-Id: I26a27aec07a8f1aac22a4d14a38fb5b833550ea7
Diffstat (limited to 'onlineupdate/source/update')
-rw-r--r--onlineupdate/source/update/updater/updater.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/onlineupdate/source/update/updater/updater.cxx b/onlineupdate/source/update/updater/updater.cxx
index 8de9cc1e0898..998a3109bf3f 100644
--- a/onlineupdate/source/update/updater/updater.cxx
+++ b/onlineupdate/source/update/updater/updater.cxx
@@ -143,7 +143,7 @@ static bool sUseHardLinks = true;
// declare it here to avoid including that entire header file.
#define BZ2_CRC32TABLE_UNDECLARED
-#if MOZ_IS_GCC
+#if defined(HAVE_GCC_VISIBILITY_FEATURE)
extern "C" __attribute__((visibility("default"))) unsigned int BZ2_crc32Table[256];
#undef BZ2_CRC32TABLE_UNDECLARED
#elif defined(__SUNPRO_C) || defined(__SUNPRO_CC)