From: Stefan Krah Date: Sun, 18 May 2025 11:55:04 +0000 (+0200) Subject: Add patch to support for GNU Hurd X-Git-Tag: archive/raspbian/4.0.1-5+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1a8f2161d874d0e30a61fc86871b7589d2080fad;p=mpdecimal.git Add patch to support for GNU Hurd Gbp-Pq: Name 0001-Add-patch-to-support-for-GNU-Hurd.patch --- diff --git a/libmpdec/mpdecimal.h.in b/libmpdec/mpdecimal.h.in index 9e7f84a..3deac48 100644 --- a/libmpdec/mpdecimal.h.in +++ b/libmpdec/mpdecimal.h.in @@ -47,7 +47,7 @@ extern "C" { #endif -#if (defined(__linux__) || defined(__FreeBSD__) || defined(__APPLE__)) && \ +#if (defined(__linux__) || defined(__gnu_hurd__) || defined(__FreeBSD__) || defined(__APPLE__)) && \ defined(__GNUC__) && __GNUC__ >= 4 && !defined(__INTEL_COMPILER) #define MPD_PRAGMA(x) _Pragma(x) #define MPD_HIDE_SYMBOLS_START "GCC visibility push(hidden)"