Handle lseek64 not existing on macOS
This commit is contained in:
@@ -10,6 +10,12 @@
|
|||||||
#include "../../../common/aliases/aliases.h"
|
#include "../../../common/aliases/aliases.h"
|
||||||
#include "../../../base/array/array.h"
|
#include "../../../base/array/array.h"
|
||||||
#include "../../../base/strings/str8/str8.h"
|
#include "../../../base/strings/str8/str8.h"
|
||||||
|
|
||||||
|
#ifdef WAPP_PLATFORM_APPLE
|
||||||
|
#define _FILE_OFFSET_BITS 64
|
||||||
|
#define lseek64 lseek
|
||||||
|
#endif // !WAPP_PLATFORM_APPLE
|
||||||
|
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user