PlatformEnvironment.h 724 B

123456789101112131415161718192021222324
  1. #pragma once
  2. // This header handles the selection of the correct compiler and platform
  3. // environment for the current build.
  4. #if _MSC_VER
  5. #include "Compiler/CompilerEnvironmentMsvc.h"
  6. #elif __clang__
  7. #include "Compiler/CompilerEnvironmentClang.h"
  8. #elif __GNUC__ || __GCC__
  9. #include "Compiler/CompilerEnvironmentGcc.h"
  10. #else
  11. #error "Unknown Compiler"
  12. #endif
  13. // There is one platform specific environment header for every platform.
  14. // You need to specify the right platform specific include path for the correct one to be picked up.
  15. #include "BaselibPlatformSpecificEnvironment.h"
  16. #include "VerifyPlatformEnvironment.h"
  17. #ifndef BASELIB_DEBUG_TRAP
  18. #define BASELIB_DEBUG_TRAP COMPILER_DEBUG_TRAP
  19. #endif