Skip to content

Commit b490240

Browse files
gnu-srsgrooverdan
authored andcommitted
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
1 parent 629b8d7 commit b490240

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

storage/connect/ioapi.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@
2121
#ifndef _ZLIBIOAPI64_H
2222
#define _ZLIBIOAPI64_H
2323

24-
#if defined(__linux__)
24+
#if defined(__linux__) || defined (__GNU__)
2525

26-
// Linux needs this to support file operation on files larger then 4+GB
26+
// Linux and Hurd needs this to support file operation on files larger
27+
// than 4+GB.
2728
// But might need better if/def to select just the platforms that needs them.
2829

2930
#ifndef __USE_FILE_OFFSET64

0 commit comments

Comments
 (0)