mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-20 17:59:08 +02:00
Add HOST_IS_CASE_SENSITIVE define
This commit is contained in:
1 parent
5fbac21813
commit
f5998d524a
1 file changed
+20
@@ -28,6 +28,26 @@
|
||||
typedef void * HANDLE;
|
||||
#endif
|
||||
|
||||
#if defined(__APPLE__)
|
||||
|
||||
#if TARGET_OS_IPHONE
|
||||
#define HOST_IS_CASE_SENSITIVE true
|
||||
#elif TARGET_IPHONE_SIMULATOR
|
||||
#define HOST_IS_CASE_SENSITIVE false
|
||||
#else
|
||||
// Mac OSX case sensitivity defaults off, but is user configurable (when
|
||||
// creating a filesytem), so assume the worst:
|
||||
#define HOST_IS_CASE_SENSITIVE true
|
||||
#endif
|
||||
|
||||
#elif defined(_WIN32) || defined(__SYMBIAN32__)
|
||||
#define HOST_IS_CASE_SENSITIVE false
|
||||
|
||||
#else // Android, Linux, BSD (and the rest?)
|
||||
#define HOST_IS_CASE_SENSITIVE true
|
||||
|
||||
#endif
|
||||
|
||||
class DirectoryFileSystem : public IFileSystem {
|
||||
public:
|
||||
DirectoryFileSystem(IHandleAllocator *_hAlloc, std::string _basePath);
|
||||
|
||||
Reference in new issue
Block a user