* shared.cc (offsets): Define as offsets relative to cygwin_hmodule

instead of addresses.
	(off_addr): New macro.
	(open_shared): Use offsets array accordingly.  Remove unused code.
	* shared_info.h (cygwin_shared_address): Remove.
This commit is contained in:
Corinna Vinschen
2006-07-26 21:02:01 +00:00
parent 5faa48850f
commit a0bb355ffe
3 changed files with 23 additions and 24 deletions

View File

@ -184,8 +184,6 @@ void __stdcall memory_init ();
(((DWORD) ((p) + 1) + system_info.dwAllocationGranularity - 1) / \
system_info.dwAllocationGranularity)))
#define cygwin_shared_address ((void *) 0x61000000)
#ifdef _FHANDLER_H_
struct console_state
{