mirror of
https://github.com/quizhizhe/LiteLoaderBDS-1.16.40.git
synced 2025-06-01 11:43:41 +00:00
24 lines
596 B
C
24 lines
596 B
C
// Copyright 2011-2022, Molecular Matters GmbH <office@molecular-matters.com>
|
|
// See LICENSE.txt for licensing details (2-clause BSD License: https://opensource.org/licenses/BSD-2-Clause)
|
|
|
|
#pragma once
|
|
|
|
|
|
// determine the compiler/toolchain used
|
|
#if defined(__clang__)
|
|
# define PDB_COMPILER_MSVC 0
|
|
# define PDB_COMPILER_CLANG 1
|
|
#elif defined(_MSC_VER)
|
|
# define PDB_COMPILER_MSVC 1
|
|
# define PDB_COMPILER_CLANG 0
|
|
#else
|
|
# error("Unknown compiler.");
|
|
#endif
|
|
|
|
// check whether C++17 is available
|
|
#if __cplusplus >= 201703L
|
|
# define PDB_CPP_17 1
|
|
#else
|
|
# define PDB_CPP_17 0
|
|
#endif
|