Skip to content

Commit 3db551f

Browse files
authored
Bugfix: regex is neither working on GCC 4.9.x (#1069)
1 parent 69fdf67 commit 3db551f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/include/opentelemetry/trace/trace_state.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include <string>
99

1010
#include <regex>
11-
#if (__GNUC__ == 4 && (__GNUC_MINOR__ == 8))
11+
#if (__GNUC__ == 4 && (__GNUC_MINOR__ == 8 || __GNUC_MINOR__ == 9))
1212
# define HAVE_WORKING_REGEX 0
1313
#else
1414
# define HAVE_WORKING_REGEX 1

0 commit comments

Comments
 (0)