Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-10-15 21:04:20 +0400
committerChristopher Faylor <me@cgf.cx>2002-10-15 21:04:20 +0400
commit6c6c3b90e9a8f0b0ffa9d6f1e064613afe43ccb6 (patch)
tree65694f4ae6e38b635fcfee55a0adf63fb45ed587 /winsup/cygwin/wincap.h
parentfdb28b5e5f813721add3ba2b261dfe78f3b895cb (diff)
* 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.
Diffstat (limited to 'winsup/cygwin/wincap.h')
-rw-r--r--winsup/cygwin/wincap.h2
1 files changed, 2 insertions, 0 deletions
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
};