Skip to content

Commit 3c64338

Browse files
committed
Enabled back OPENTELEMETRY_HAVE_EXCEPTIONS
1 parent d7239c9 commit 3c64338

File tree

1 file changed

+5
-6
lines changed
  • api/include/opentelemetry/common

1 file changed

+5
-6
lines changed

api/include/opentelemetry/common/macros.h

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -546,10 +546,10 @@ point.
546546
#endif
547547
#define OPENTELEMETRY_OPTION_USE_STD_SPAN 0 // Use the nostd version, std::span is in C++2020
548548

549-
// #ifdef OPENTELEMETRY_HAVE_EXCEPTIONS
550-
// #undef OPENTELEMETRY_HAVE_EXCEPTIONS
551-
// #endif
552-
// #define OPENTELEMETRY_HAVE_EXCEPTIONS 1
549+
#ifdef OPENTELEMETRY_HAVE_EXCEPTIONS
550+
#undef OPENTELEMETRY_HAVE_EXCEPTIONS
551+
#endif
552+
#define OPENTELEMETRY_HAVE_EXCEPTIONS 1
553553

554554
#ifdef OPENTELEMETRY_ABI_VERSION_NO
555555
#undef OPENTELEMETRY_ABI_VERSION_NO
@@ -642,10 +642,9 @@ point.
642642
"+thrd_instr:" OPENTELEMETRY_STR(ENABLE_THREAD_INSTRUMENTATION_PREVIEW) \
643643
"+curl_log:" OPENTELEMETRY_STR(ENABLE_CURL_LOGGING) \
644644
"+grpc_cred:" OPENTELEMETRY_STR(ENABLE_OTLP_GRPC_CREDENTIAL_PREVIEW) \
645+
"+have_excpts:" OPENTELEMETRY_STR(OPENTELEMETRY_HAVE_EXCEPTIONS) \
645646
)
646647

647-
// "+have_excpts:" OPENTELEMETRY_STR(OPENTELEMETRY_HAVE_EXCEPTIONS)
648-
649648
#undef OPENTELEMETRY_DLL_STRX
650649
#undef OPENTELEMETRY_DLL_STR
651650
#endif

0 commit comments

Comments
 (0)