Support for building on Haiku

This commit is contained in:
Andrew S. Rightenburg 2024-02-04 01:18:42 +08:00
parent 3a55d5e218
commit 15110d2fe6
Signed by: rail5
GPG Key ID: A0CB570AB6629159
1 changed files with 2 additions and 2 deletions

View File

@ -14,8 +14,8 @@
#define EXIT_OTHER 4
#define EXIT_INTERRUPT 5
// Clang doesn't have fopen64
#ifdef __clang__
// Account for systems which have fopen64
#if defined __clang__ || defined __HAIKU__
#define fopen64 fopen
// This might(?) mean that we can't open >2GB files on 32-bit systems which use clang/llvm
// Testing is needed