* shared.cc (open_shared): Revert to "old" method for shared memory location if

!wincap.needs_memory_protection.
* wincap.cc: Implement needs_memory_protection throughout.
* wincap.h: Ditto.
This commit is contained in:
Christopher Faylor
2002-10-15 17:04:20 +00:00
parent fdb28b5e5f
commit 6c6c3b90e9
4 changed files with 42 additions and 11 deletions

View File

@@ -48,6 +48,7 @@ struct wincaps
unsigned has_64bit_file_access : 1;
unsigned has_process_io_counters : 1;
unsigned supports_reading_modem_output_lines : 1;
unsigned needs_memory_protection : 1;
};
class wincapc
@@ -100,6 +101,7 @@ public:
bool IMPLEMENT (has_64bit_file_access)
bool IMPLEMENT (has_process_io_counters)
bool IMPLEMENT (supports_reading_modem_output_lines)
bool IMPLEMENT (needs_memory_protection)
#undef IMPLEMENT
};