mirror of
https://github.com/RGBCube/serenity
synced 2025-10-14 19:42:22 +00:00
LibCore: Rename identifiers that can clash with libc macros (#4127)
POSIX allows the default streams (stdin, stdout and stderr) to be macros, which means that on such systems (musl libc is one) building Lagom will fail due to the File::std*() names. Also fix any files that use these identifiers.
This commit is contained in:
parent
abc98dea09
commit
a8f0e489a4
7 changed files with 13 additions and 13 deletions
|
@ -44,6 +44,6 @@ int main()
|
|||
return 1;
|
||||
}
|
||||
|
||||
auto engine = ChessEngine::construct(Core::File::stdin(), Core::File::stdout());
|
||||
auto engine = ChessEngine::construct(Core::File::standard_input(), Core::File::standard_output());
|
||||
return loop.exec();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue