Bug#1069094: mariadb: FTBFS on hurd-i386
authorSvante Signell <svante.signell@gmail.com>
Mon, 19 Aug 2024 04:59:29 +0000 (21:59 -0700)
committerOtto Kekäläinen <otto@debian.org>
Mon, 19 Aug 2024 04:59:29 +0000 (21:59 -0700)
Add Hurd to define __USE_FILE_OFFSET64 et al.

Gbp-Pq: Name hurd-i386-storage_connect_ioapi.h.patch

storage/connect/ioapi.h

index 94b292ed78f4b82400aaa245baa8817bf34969f5..7971717ad369ea4f9e5faf7386d84871292b2a2d 100644 (file)
 #ifndef _ZLIBIOAPI64_H
 #define _ZLIBIOAPI64_H
 
-#if defined(__linux__)
+#if defined(__linux__) || defined (__GNU__)
 
-  // Linux needs this to support file operation on files larger then 4+GB
+  // Linux and Hurd needs this to support file operation on files larger
+  // than 4+GB.
   // But might need better if/def to select just the platforms that needs them.
 
         #ifndef __USE_FILE_OFFSET64