diff -r 22b67b4cf067 -r 13bd3a8df334 jitcraft/Platform-Windows.cpp --- a/jitcraft/Platform-Windows.cpp Sat Jul 07 01:45:33 2012 -0400 +++ b/jitcraft/Platform-Windows.cpp Sat Jul 07 17:11:31 2012 -0700 @@ -63,11 +63,11 @@ } static Address -MapMemoryAt(Address address, size_t amount, MapMode mode, Protection prot_) +MapMemoryAt(Address address, size_t amount, OS::MapMode mode, OS::Protection prot_) { DWORD bits = ToProtBits(prot_); DWORD flags = MEM_RESERVE; - if (mode == Map_Commit) + if (mode == OS::Map_Commit) flags |= MEM_COMMIT; Address x = (Address)VirtualAlloc((LPVOID)address, amount, flags, bits);