diff --git a/src/google/protobuf/port_def.inc b/src/google/protobuf/port_def.inc index 911492cf51..2c050efd64 100644 --- a/src/google/protobuf/port_def.inc +++ b/src/google/protobuf/port_def.inc @@ -864,11 +864,11 @@ static_assert(PROTOBUF_ABSL_MIN(20230125, 3), // fields/maps, enum/primitive fields, string fields, message fields. #define PROTOBUF_TSAN_READ_REPEATED(addr) PROTOBUF_TSAN_READ(addr) #define PROTOBUF_TSAN_READ_PRIMITIVE(addr) PROTOBUF_TSAN_READ(addr) -#define PROTOBUF_TSAN_READ_STRING(addr) +#define PROTOBUF_TSAN_READ_STRING(addr) PROTOBUF_TSAN_READ(addr) #define PROTOBUF_TSAN_READ_MESSAGE(addr) #define PROTOBUF_TSAN_WRITE_REPEATED(addr) PROTOBUF_TSAN_WRITE(addr) #define PROTOBUF_TSAN_WRITE_PRIMITIVE(addr) PROTOBUF_TSAN_WRITE(addr) -#define PROTOBUF_TSAN_WRITE_STRING(addr) +#define PROTOBUF_TSAN_WRITE_STRING(addr) PROTOBUF_TSAN_WRITE(addr) #define PROTOBUF_TSAN_WRITE_MESSAGE(addr) #ifdef PROTOBUF_USE_TABLE_PARSER_ON_REFLECTION