Add patch to support for GNU Hurd
authorStefan Krah <skrah@bytereef.org>
Sun, 18 May 2025 11:55:04 +0000 (13:55 +0200)
committerOndřej Surý <ondrej@debian.org>
Sun, 18 May 2025 20:06:32 +0000 (22:06 +0200)
Gbp-Pq: Name 0001-Add-patch-to-support-for-GNU-Hurd.patch

libmpdec/mpdecimal.h.in

index 9e7f84a2bf723578e8d5ff6ea7003116c8bb4069..3deac484ea37a474c02a887b7be32cb05220c4af 100644 (file)
@@ -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)"