Skip to content

Commit

Permalink
Bugfix: regex is neither working on GCC 4.9.x (#1069)
Browse files Browse the repository at this point in the history
  • Loading branch information
hcoona authored Nov 16, 2021
1 parent 69fdf67 commit 3db551f
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 3db551f

Please sign in to comment.