Skip to content
This repository was archived by the owner on Jun 5, 2019. It is now read-only.

Refactored conditional compilation for PLATFORM_WINDOWS and WIN32 #468

Merged
merged 5 commits into from
Jun 29, 2016

Conversation

smaillet-ms
Copy link
Member

This is a step towards splitting the (PLATFORM_WINDOWS==WIN32==x86==Emulator or desktop tools) assumptions in the CLR to allow building for x86 or Win32. This helps enable x86 builds on non-windows platforms, including potentially VMs for testing.

This also updates the DisAsmPE code to clean up some minor things and add some more comments.

…DOWS_EMULATOR as first step in reefactoring to allow cleaner builds and enable x86 based targets that aren't WIN32 based.
- moved tableIndex typedefs after the tableKindEnum so they make a bit more sense in context
- Added typedefs for the rest of the table index types
- Added index type argument to DECLARE_TABLEKIND macro and table_kind<> template to enable generation of greater type safety with templated types and methods.
- Added Final to POD structures and other types to enforce intent as sealed classes
…TINYCLR_TRACE_MEMORY_STATS) that was accidentally stripped in conversion to standard _WIN32 checks
@smaillet-ms smaillet-ms merged commit 9a57b28 into NETMF:dev Jun 29, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant