Move getWindowsProtectionFlags inside namespace to make MemProt type accessible.
#include <unistd.h>
#endif
+namespace llvm {
+namespace orc {
+namespace rt_bootstrap {
+
#if defined(_WIN32)
static DWORD getWindowsProtectionFlags(MemProt MP) {
if (MP == MemProt::Read)
}
#endif
-namespace llvm {
-namespace orc {
-namespace rt_bootstrap {
-
Expected<std::pair<ExecutorAddr, std::string>>
ExecutorSharedMemoryMapperService::reserve(uint64_t Size) {
#if (defined(LLVM_ON_UNIX) && !defined(__ANDROID__)) || defined(_WIN32)