Bug#1069094: mariadb: FTBFS on hurd-i386

Add Hurd to define __USE_FILE_OFFSET64 et al.

Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1069094
Forwarded: no
This commit is contained in:
Svante Signell 2024-04-20 16:51:00 -07:00 committed by Daniel Black
parent 629b8d782c
commit b490240263

View File

@ -21,9 +21,10 @@
#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