trying some preprocessor platform detection