PlatformEnvironment.h
724 字节
#pragma once
// This header handles the selection of the correct compiler and platform
// environment for the current build.
#if _MSC_VER
#include "Compiler/CompilerEnvironmentMsvc.h"
#elif __clang__
#include "Compiler/CompilerEnvironmentClang.h"
#elif __GNUC__ || __GCC__
#include "Compiler/CompilerEnvironmentGcc.h"
#else
#error "Unknown Compiler"
#endif
// There is one platform specific environment header for every platform.
// You need to specify the right platform specific include path for the correct one to be picked up.
#include "BaselibPlatformSpecificEnvironment.h"
#include "VerifyPlatformEnvironment.h"
#ifndef BASELIB_DEBUG_TRAP
#define BASELIB_DEBUG_TRAP COMPILER_DEBUG_TRAP
#endif