summaryrefslogtreecommitdiff
path: root/ace/Mem_Map.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Mem_Map.h')
-rw-r--r--ace/Mem_Map.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/Mem_Map.h b/ace/Mem_Map.h
index 17e02461878..6782b8f66aa 100644
--- a/ace/Mem_Map.h
+++ b/ace/Mem_Map.h
@@ -188,10 +188,10 @@ private:
/// HANDLE for the open mapping.
ACE_HANDLE file_mapping_;
-#if defined (__Lynx__)
+#if defined (ACE_HAS_LYNX_BROKEN_MMAP)
/// Flag to indicate that PROT_WRITE has been enabled.
int write_enabled_;
-#endif /* __Lynx__ */
+#endif /* ACE_HAS_LYNX_BROKEN_MMAP */
/// Keeps track of whether we need to close the handle. This is set
/// if we opened the file.