From df908ef4eaa7fd3292faa34d690edce40106da3c Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sat, 26 Feb 2022 11:38:43 +0100 Subject: Get rid of various old compiler and platform checks --- source/Irrlicht/CFileSystem.cpp | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'source/Irrlicht/CFileSystem.cpp') diff --git a/source/Irrlicht/CFileSystem.cpp b/source/Irrlicht/CFileSystem.cpp index 78603b8..e1d0248 100644 --- a/source/Irrlicht/CFileSystem.cpp +++ b/source/Irrlicht/CFileSystem.cpp @@ -23,11 +23,9 @@ #endif #if defined (_IRR_WINDOWS_API_) - #if !defined ( _WIN32_WCE ) - #include // for _chdir - #include // for _access - #include - #endif + #include // for _chdir + #include // for _access + #include #elif (defined(_IRR_POSIX_API_) || defined(_IRR_OSX_PLATFORM_) || defined(_IRR_IOS_PLATFORM_) || defined(_IRR_ANDROID_PLATFORM_)) #include #include @@ -797,7 +795,6 @@ IFileList* CFileSystem::createFileList() // -------------------------------------------- //! Windows version #ifdef _IRR_WINDOWS_API_ - #if !defined ( _WIN32_WCE ) r = new CFileList(Path, true, false); @@ -819,12 +816,7 @@ IFileList* CFileSystem::createFileList() _findclose( hFile ); } - #endif - //TODO add drives - //entry.Name = "E:\\"; - //entry.isDirectory = true; - //Files.push_back(entry); #endif // -------------------------------------------- -- cgit v1.2.3