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