From 4df08dc19ff461c8fe5933c47736ce2cff96a267 Mon Sep 17 00:00:00 2001 From: fgenesis Date: Tue, 15 Apr 2014 19:58:10 +0200 Subject: [PATCH] Fix oversight because of copying files around + make sure this won't happen again. --- BBGE/Base.cpp | 7 +++++-- ExternalLibs/ttvfs/VFSDefines.h | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/BBGE/Base.cpp b/BBGE/Base.cpp index 501cb65..525039e 100644 --- a/BBGE/Base.cpp +++ b/BBGE/Base.cpp @@ -44,8 +44,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #ifdef BBGE_BUILD_VFS -#include "ttvfs.h" -ttvfs::Root vfs; // extern +# include "ttvfs.h" +# ifndef VFS_IGNORE_CASE +# error Must define VFS_IGNORE_CASE, see VFSDefines.h +# endif + ttvfs::Root vfs; // extern #endif Vector getDirVector(Direction dir) diff --git a/ExternalLibs/ttvfs/VFSDefines.h b/ExternalLibs/ttvfs/VFSDefines.h index 2dd3cdd..d0cf3cc 100644 --- a/ExternalLibs/ttvfs/VFSDefines.h +++ b/ExternalLibs/ttvfs/VFSDefines.h @@ -18,7 +18,7 @@ // (no sane programmer should do this, anyway). // However, on non-windows systems this will decrease performance when checking for files // on disk (see VFSLoader.cpp). -//#define VFS_IGNORE_CASE +#define VFS_IGNORE_CASE /* --- End of config section --- */