xtd 0.2.0
Loading...
Searching...
No Matches
__compiler_id.hpp
Go to the documentation of this file.
1
3#pragma once
5#if !defined(__XTD_CORE_INTERNAL__)
6#error "Do not include this file: Internal use only"
7#endif
9#include "../compiler_id.hpp"
10
12#if defined(_MSC_VER)
13# define __compiler_id xtd::compiler_id::msvc
14#elif defined(__APPLE__) && defined(__clang__)
15# define __compiler_id xtd::compiler_id::apple_clang;
16#elif defined(__clang__)
17# define __compiler_id xtd::compiler_id::clang;
18#elif defined(__GNUC__)
19# define __compiler_id xtd::compiler_id::gcc;
20#else
21# define __compiler_id xtd::compiler_id::unknown;
22#endif