From 6c6c3b90e9a8f0b0ffa9d6f1e064613afe43ccb6 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Tue, 15 Oct 2002 17:04:20 +0000 Subject: * 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. --- winsup/cygwin/wincap.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'winsup/cygwin/wincap.h') diff --git a/winsup/cygwin/wincap.h b/winsup/cygwin/wincap.h index c24b36ae5..a89f0a5ad 100644 --- a/winsup/cygwin/wincap.h +++ b/winsup/cygwin/wincap.h @@ -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 }; -- cgit v1.2.3