diff --git a/components/files/fixedpath.hpp b/components/files/fixedpath.hpp index 45ad3238f..5247f7d0d 100644 --- a/components/files/fixedpath.hpp +++ b/components/files/fixedpath.hpp @@ -4,12 +4,15 @@ #include #include -#if defined(__UNIX__) || defined(__FreeBSD__) +#if defined(__linux__) || defined(__FreeBSD__) +#ifdef NOT_ANDROID #include namespace Files { typedef LinuxPath TargetPathType; } -#elif defined (__ANDROID__) +#else + #include namespace Files { typedef AndroidPath TargetPathType; } +#endif #elif defined(__WIN32) || defined(__WINDOWS__) || defined(_WIN32) #include namespace Files { typedef WindowsPath TargetPathType; }