Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit a34e383

Browse files
kinkedlang-bot
authored andcommitted
Android: Fix compilability regression wrt. missing __USE_FILE_OFFSET64
Introduced by #3298.
1 parent 6d1015a commit a34e383

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/core/sys/posix/config.d

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ else version (CRuntime_UClibc)
117117
else version (CRuntime_Bionic)
118118
{
119119
enum _GNU_SOURCE = false;
120+
enum __USE_FILE_OFFSET64 = false; // see https://android.googlesource.com/platform/bionic/+/master/docs/32-bit-abi.md
120121
enum __USE_GNU = _GNU_SOURCE;
121122

122123
version (D_LP64)

0 commit comments

Comments
 (0)