2023-02-10 15:13:26 +08:00

25 lines
724 B
C

#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