Skip to content

Commit

Permalink
Bugfix: regex is neither working on GCC 4.9.x
Browse files Browse the repository at this point in the history
  • Loading branch information
hcoona committed Nov 16, 2021
1 parent 9772156 commit eb6ac6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/include/opentelemetry/trace/trace_state.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include <string>

#include <regex>
#if (__GNUC__ == 4 && (__GNUC_MINOR__ == 8))
#if (__GNUC__ == 4 && (__GNUC_MINOR__ == 8 || __GNUC_MINOR__ == 9))
# define HAVE_WORKING_REGEX 0
#else
# define HAVE_WORKING_REGEX 1
Expand Down

0 comments on commit eb6ac6e

Please sign in to comment.