mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 17:31:47 +09:00
Issue #1053 - Part 3a: Remove Android conditionals from /gfx
This commit is contained in:
parent
7167c960d0
commit
753251e54c
43 changed files with 32 additions and 1708 deletions
|
|
@ -396,18 +396,7 @@ AppendToString(std::stringstream& aStream, ImageFormat format,
|
|||
void
|
||||
print_stderr(std::stringstream& aStr)
|
||||
{
|
||||
#if defined(ANDROID)
|
||||
// On Android logcat output is truncated to 1024 chars per line, and
|
||||
// we usually use std::stringstream to build up giant multi-line gobs
|
||||
// of output. So to avoid the truncation we find the newlines and
|
||||
// print the lines individually.
|
||||
std::string line;
|
||||
while (std::getline(aStr, line)) {
|
||||
printf_stderr("%s\n", line.c_str());
|
||||
}
|
||||
#else
|
||||
printf_stderr("%s", aStr.str().c_str());
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue