* include/sys/cygwin.h: Protect class definitions.

This commit is contained in:
Christopher Faylor
2000-08-23 14:53:25 +00:00
parent 644b7f266b
commit c19e7ba723
8 changed files with 42 additions and 12 deletions

View File

@ -494,6 +494,10 @@ skip_arg_parsing:
}
init_child_info (chtype, ciresrv, (mode == _P_OVERLAY) ? myself->pid : 1, spr);
if (mode != _P_OVERLAY ||
!DuplicateHandle (hMainProc, myself.shared_handle (), hMainProc, &ciresrv->myself_pinfo, 0,
TRUE, DUPLICATE_SAME_ACCESS))
ciresrv->myself_pinfo = NULL;
LPBYTE resrv = si.lpReserved2 + sizeof *ciresrv;
# undef ciresrv