mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-12-25 14:15:46 +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,10 +14,19 @@
|
|||
#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
|
||||
# ifndef _CRT_SECURE_NO_WARNINGS
|
||||
|
|
|
@ -2,8 +2,9 @@
|
|||
|
||||
#include "ttvfs.h"
|
||||
#include "ttvfs_stdio.h"
|
||||
#include <cassert>
|
||||
#include <assert.h>
|
||||
#include <sstream>
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
static ttvfs::Root *vfs = NULL;
|
||||
|
|
|
@ -23,6 +23,8 @@
|
|||
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <stdio.h>
|
||||
|
||||
#include <ttvfs.h>
|
||||
|
||||
typedef ttvfs::File VFILE;
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
#include "VFSInternal.h"
|
||||
#include "VFSZipArchiveRef.h"
|
||||
#include <stdio.h>
|
||||
#include "miniz.h"
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue