mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-10-05 13:51:04 +00:00
Fix linux build
This commit is contained in:
parent
7630587279
commit
95fb836221
5 changed files with 17 additions and 1 deletions
|
@ -2,6 +2,8 @@
|
|||
#include "VFSInternal.h"
|
||||
#include "VFSFileFuncs.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
VFS_NAMESPACE_START
|
||||
|
||||
// Compile time assertion to make sure things work as expected
|
||||
|
|
|
@ -14,9 +14,18 @@
|
|||
#include "VFSDefines.h"
|
||||
|
||||
#if defined(VFS_LARGEFILE_SUPPORT)
|
||||
# ifndef _LARGEFILE_SOURCE
|
||||
# define _LARGEFILE_SOURCE
|
||||
# endif
|
||||
# ifndef _LARGEFILE64_SOURCE
|
||||
# define _LARGEFILE64_SOURCE
|
||||
# endif
|
||||
# ifdef _FILE_OFFSET_BITS
|
||||
# undef _FILE_OFFSET_BITS
|
||||
# endif
|
||||
# ifndef _FILE_OFFSET_BITS
|
||||
# define _FILE_OFFSET_BITS 64
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if _MSC_VER
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue