forkables: inline dll_list::forkables_supported

And LONG fits better for shared_info member forkable_hardlink_support.
This commit is contained in:
Michael Haubenwallner
2017-03-02 17:26:53 +01:00
committed by Corinna Vinschen
parent 135577f708
commit 22d68bada3
6 changed files with 10 additions and 12 deletions

View File

@ -86,8 +86,10 @@ struct dll
class dll_list
{
/* forkables */
bool forkables_supported ();
bool forkables_supported ()
{
return cygwin_shared->forkable_hardlink_support >= 0;
}
DWORD forkables_dirx_size;
bool forkables_created;
PWCHAR forkables_dirx_ntname;