]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/api/include/opentelemetry/config.h
21a2947e28b05754436d960408c85bfa9342b731
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / api / include / opentelemetry / config.h
1 // Copyright The OpenTelemetry Authors
2 // SPDX-License-Identifier: Apache-2.0
3
4 #pragma once
5
6 #ifndef __has_include
7 # define OPENTELEMETRY_HAS_INCLUDE(x) 0
8 #else
9 # define OPENTELEMETRY_HAS_INCLUDE(x) __has_include(x)
10 #endif
11
12 #if !defined(__GLIBCXX__) || OPENTELEMETRY_HAS_INCLUDE(<codecvt>) // >= libstdc++-5
13 # define OPENTELEMETRY_TRIVIALITY_TYPE_TRAITS
14 #endif