fix android build issues caused by the log module
This commit is contained in:
@@ -144,7 +144,7 @@ struct TFSGLogString<char*>
|
||||
}
|
||||
};
|
||||
|
||||
#if defined ( __linux__ )
|
||||
#if ! PLATFORM_ANDROID && PLATFORM_LINUX
|
||||
|
||||
template< std::size_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<>
|
||||
struct TFSGLogString<const double>
|
||||
@@ -402,8 +402,8 @@ struct TFSGLogString<long double>
|
||||
}
|
||||
};
|
||||
|
||||
#if defined ( __linux__ )
|
||||
template <>
|
||||
#if ! PLATFORM_ANDROID && PLATFORM_LINUX
|
||||
template<>
|
||||
struct TFSGLogString<const std::size_t>
|
||||
{
|
||||
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);
|
||||
}
|
||||
};
|
||||
#endif /* defined ( __linux__ ) */
|
||||
#endif /* ! PLATFORM_ANDROID && PLATFORM_LINUX */
|
||||
|
||||
#if defined ( __linux__ )
|
||||
#if ! PLATFORM_ANDROID && PLATFORM_LINUX
|
||||
template <>
|
||||
struct TFSGLogString<std::size_t>
|
||||
{
|
||||
@@ -422,7 +422,7 @@ struct TFSGLogString<std::size_t>
|
||||
OutString = FString::Printf(TEXT("%d"), Value);
|
||||
}
|
||||
};
|
||||
#endif /* defined ( __linux__ ) */
|
||||
#endif /* ! PLATFORM_ANDROID && PLATFORM_LINUX */
|
||||
|
||||
template<>
|
||||
struct TFSGLogString<const uint8>
|
||||
|
||||
Reference in New Issue
Block a user