Currently we only support SDL as a platform abstraction layer, so we sort this out so that any platform access is routed through SDL instead of platform specific #ifdefs or platform specific files littered about the codebase.
All OS specific code should be within the Platform/ directory (where currently the only supported "platform" is SDL).
Off the top of my head one place this needs doing is in the Plugin loader code - currently there is an ifdef for each platform specific "dlopen" like API, but SDL provides
Currently we only support SDL as a platform abstraction layer, so we sort this out so that any platform access is routed through SDL instead of platform specific #ifdefs or platform specific files littered about the codebase. All OS specific code should be within the
Platform/
directory (where currently the only supported "platform" is SDL). Off the top of my head one place this needs doing is in the Plugin loader code - currently there is an ifdef for each platform specific "dlopen" like API, but SDL provideswhich we can use to do the same thing in the SDL backend.