fix android build issues caused by the log module

This commit is contained in:
Mamadou Babaei
2022-12-15 18:11:45 +01:00
parent 7a9c2bfe3b
commit 88775397a3
+7 -7
View File
@@ -144,7 +144,7 @@ struct TFSGLogString<char*>
} }
}; };
#if defined ( __linux__ ) #if ! PLATFORM_ANDROID && PLATFORM_LINUX
template< std::size_t L> template< std::size_t L>
struct TFSGLogString<const char16_t[L]> struct TFSGLogString<const char16_t[L]>
@@ -182,7 +182,7 @@ struct TFSGLogString<char16_t*>
} }
}; };
#endif /* defined ( __linux__ ) */ #endif /* ! PLATFORM_ANDROID && PLATFORM_LINUX */
template<> template<>
struct TFSGLogString<const double> struct TFSGLogString<const double>
@@ -402,8 +402,8 @@ struct TFSGLogString<long double>
} }
}; };
#if defined ( __linux__ ) #if ! PLATFORM_ANDROID && PLATFORM_LINUX
template <> template<>
struct TFSGLogString<const std::size_t> struct TFSGLogString<const std::size_t>
{ {
static void Format(const std::size_t Value, FString& OutString) static void Format(const std::size_t Value, FString& OutString)
@@ -411,9 +411,9 @@ struct TFSGLogString<const std::size_t>
OutString = FString::Printf(TEXT("%d"), Value); OutString = FString::Printf(TEXT("%d"), Value);
} }
}; };
#endif /* defined ( __linux__ ) */ #endif /* ! PLATFORM_ANDROID && PLATFORM_LINUX */
#if defined ( __linux__ ) #if ! PLATFORM_ANDROID && PLATFORM_LINUX
template <> template <>
struct TFSGLogString<std::size_t> struct TFSGLogString<std::size_t>
{ {
@@ -422,7 +422,7 @@ struct TFSGLogString<std::size_t>
OutString = FString::Printf(TEXT("%d"), Value); OutString = FString::Printf(TEXT("%d"), Value);
} }
}; };
#endif /* defined ( __linux__ ) */ #endif /* ! PLATFORM_ANDROID && PLATFORM_LINUX */
template<> template<>
struct TFSGLogString<const uint8> struct TFSGLogString<const uint8>