diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2023-02-02 09:09:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-02 09:09:17 +0100 |
commit | 757fd0a5eef53e1c9e1a8327eb5d4b34e81d7cb9 (patch) | |
tree | b33ba66528e126d78ff8fdcb8ca01ae861e1c836 /ACE/ace/Pagefile_Memory_Pool.cpp | |
parent | 107d2bfea7caaecb5e00c67134786b011bf4479b (diff) | |
parent | 7f4365e65442e6c9d482fa64f808303f1546fe68 (diff) | |
download | ATCD-757fd0a5eef53e1c9e1a8327eb5d4b34e81d7cb9.tar.gz |
Merge pull request #2043 from jwillemsen/jwi-pharlapcleanup
Removed pharlap support
Diffstat (limited to 'ACE/ace/Pagefile_Memory_Pool.cpp')
-rw-r--r-- | ACE/ace/Pagefile_Memory_Pool.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/ACE/ace/Pagefile_Memory_Pool.cpp b/ACE/ace/Pagefile_Memory_Pool.cpp index 8af6e554b66..f5523223c68 100644 --- a/ACE/ace/Pagefile_Memory_Pool.cpp +++ b/ACE/ace/Pagefile_Memory_Pool.cpp @@ -19,7 +19,7 @@ #include "ace/Based_Pointer_Repository.h" #endif /* ACE_HAS_POSITION_INDEPENDENT_POINTERS == 1 */ -#if defined (ACE_WIN32) && !defined (ACE_HAS_PHARLAP) +#if defined (ACE_WIN32) #define ACE_MAP_FILE(_hnd, _access, _offHigh, _offLow, _nBytes, _baseAdd) \ MapViewOfFileEx (_hnd, _access, _offHigh, _offLow, _nBytes, _baseAdd) @@ -217,7 +217,6 @@ ACE_Pagefile_Memory_Pool::map (int &first_time, // Create file mapping, if not yet done if (object_handle_ == 0) { -#if !defined (ACE_LACKS_WIN32_SECURITY_DESCRIPTORS) // Allow access by all users. SECURITY_ATTRIBUTES sa; SECURITY_DESCRIPTOR sd; @@ -230,7 +229,6 @@ ACE_Pagefile_Memory_Pool::map (int &first_time, sa.nLength = sizeof (SECURITY_ATTRIBUTES); sa.lpSecurityDescriptor = &sd; sa.bInheritHandle = FALSE; -#endif /* ACE_LACKS_WIN32_SECURITY_DESCRIPTORS */ // Get an object handle to the named reserved memory object. DWORD size_high; @@ -245,11 +243,7 @@ ACE_Pagefile_Memory_Pool::map (int &first_time, object_handle_ = ACE_TEXT_CreateFileMapping (INVALID_HANDLE_VALUE, -#if !defined (ACE_LACKS_WIN32_SECURITY_DESCRIPTORS) &sa, -#else - 0, -#endif /* !ACE_LACKS_WIN32_SECURITY_DESCRIPTORS */ PAGE_READWRITE | SEC_RESERVE, size_high, size_low, @@ -369,4 +363,4 @@ ACE_Pagefile_Memory_Pool::map (int &first_time, ACE_END_VERSIONED_NAMESPACE_DECL -#endif /* ACE_WIN32 && !ACE_HAS_PHARLAP */ +#endif /* ACE_WIN32 */ |