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 --- */