Skip to content

Commit bee0ae0

Browse files
ibuclawdlang-bot
authored andcommitted
partial fix for Issue 23344 - std.stdio: error: undefined identifier fputc_unlocked
While the proper fix would be to define the missing getc/putc macros, for now to keep the build happy, just treat uClibc as a GENERIC_IO platform.
1 parent d51e3f9 commit bee0ae0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

std/stdio.d

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,7 @@ else version (CRuntime_Musl)
8585
}
8686
else version (CRuntime_UClibc)
8787
{
88-
// uClibc supports GCC IO
89-
version = GCC_IO;
88+
version = GENERIC_IO;
9089
}
9190
else version (OSX)
9291
{

0 commit comments

Comments
 (0)