From 174b528082c664ef38815b72153d706d79081a8f Mon Sep 17 00:00:00 2001 From: root Date: Wed, 6 Aug 2014 00:54:53 +0400 Subject: [PATCH] fixe v 3 --- components/files/fixedpath.hpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/components/files/fixedpath.hpp b/components/files/fixedpath.hpp index 45ad3238f5..5247f7d0d9 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; }