COMMS
Template library intended to help with implementation of communication protocols.
Loading...
Searching...
No Matches
base_detection.h
1//
2// Copyright 2017 - 2024 (C). Alex Robenko. All rights reserved.
3//
4// This Source Code Form is subject to the terms of the Mozilla Public
5// License, v. 2.0. If a copy of the MPL was not distributed with this
6// file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
8#pragma once
9
11
12#if (!COMMS_IS_CPP14)
13
14#if COMMS_IS_CLANG
15#define COMMS_MUST_DEFINE_BASE
16#endif
17
18#if !defined(COMMS_MUST_DEFINE_BASE) && COMMS_IS_GCC
19#if __GNUC__ < 5
20#define COMMS_MUST_DEFINE_BASE
21#endif // #if __GNUC__ < 5
22#endif // #if !defined(COMMS_MUST_DEFINE_BASE) && defined(__GNUC__)
23
24#endif // #if (!COMMS_IS_CPP14)
25
Contains various compiler related definitions.