SDL provides a means to identify the app's platform, both at compile time and runtime.
CategoryAPICategory