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 "VFSInternal.h"
|
||||||
#include "VFSFileFuncs.h"
|
#include "VFSFileFuncs.h"
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
VFS_NAMESPACE_START
|
VFS_NAMESPACE_START
|
||||||
|
|
||||||
// Compile time assertion to make sure things work as expected
|
// Compile time assertion to make sure things work as expected
|
||||||
|
|
|
@ -14,9 +14,18 @@
|
||||||
#include "VFSDefines.h"
|
#include "VFSDefines.h"
|
||||||
|
|
||||||
#if defined(VFS_LARGEFILE_SUPPORT)
|
#if defined(VFS_LARGEFILE_SUPPORT)
|
||||||
|
# ifndef _LARGEFILE_SOURCE
|
||||||
# define _LARGEFILE_SOURCE
|
# define _LARGEFILE_SOURCE
|
||||||
|
# endif
|
||||||
|
# ifndef _LARGEFILE64_SOURCE
|
||||||
# define _LARGEFILE64_SOURCE
|
# define _LARGEFILE64_SOURCE
|
||||||
|
# endif
|
||||||
|
# ifdef _FILE_OFFSET_BITS
|
||||||
|
# undef _FILE_OFFSET_BITS
|
||||||
|
# endif
|
||||||
|
# ifndef _FILE_OFFSET_BITS
|
||||||
# define _FILE_OFFSET_BITS 64
|
# define _FILE_OFFSET_BITS 64
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if _MSC_VER
|
#if _MSC_VER
|
||||||
|
|
|
@ -2,8 +2,9 @@
|
||||||
|
|
||||||
#include "ttvfs.h"
|
#include "ttvfs.h"
|
||||||
#include "ttvfs_stdio.h"
|
#include "ttvfs_stdio.h"
|
||||||
#include <cassert>
|
#include <assert.h>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
|
||||||
static ttvfs::Root *vfs = NULL;
|
static ttvfs::Root *vfs = NULL;
|
||||||
|
|
|
@ -23,6 +23,8 @@
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
#include <ttvfs.h>
|
#include <ttvfs.h>
|
||||||
|
|
||||||
typedef ttvfs::File VFILE;
|
typedef ttvfs::File VFILE;
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
|
#include "VFSInternal.h"
|
||||||
#include "VFSZipArchiveRef.h"
|
#include "VFSZipArchiveRef.h"
|
||||||
|
#include <stdio.h>
|
||||||
#include "miniz.h"
|
#include "miniz.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue