mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
Remove usage of obsolete _fdToHandle
in rt/dmain2.d (#20722)
This commit is contained in:
parent
283b5f6fea
commit
e49b67e969
1 changed files with 1 additions and 4 deletions
|
@ -616,10 +616,7 @@ extern (C) void _d_print_throwable(Throwable t)
|
|||
|
||||
HANDLE windowsHandle(int fd)
|
||||
{
|
||||
version (CRuntime_Microsoft)
|
||||
return cast(HANDLE)_get_osfhandle(fd);
|
||||
else
|
||||
return _fdToHandle(fd);
|
||||
return cast(HANDLE)_get_osfhandle(fd);
|
||||
}
|
||||
|
||||
// ensure the exception is shown at the beginning of the line, while also
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue