File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -198,6 +198,7 @@ cc_library(
198198 deps = [
199199 ":platform" ,
200200 ":tstring" ,
201+ "@com_google_absl//absl/base:core_headers" ,
201202 "@xla//xla/tsl/platform:types" ,
202203 ] + tsl_protobuf_deps (),
203204)
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ limitations under the License.
2121#include < string>
2222#include < utility>
2323
24+ #include " absl/base/macros.h"
2425#include " xla/tsl/platform/types.h"
2526#include " tsl/platform/platform.h"
2627
@@ -57,8 +58,8 @@ limitations under the License.
5758namespace tsl {
5859
5960namespace protobuf = ::google::protobuf;
60- using protobuf_int64 = int64_t ;
61- using protobuf_uint64 = uint64_t ;
61+ using protobuf_int64 ABSL_DEPRECATE_AND_INLINE () = int64_t;
62+ using protobuf_uint64 ABSL_DEPRECATE_AND_INLINE () = uint64_t;
6263extern const char * kProtobufInt64Typename ;
6364extern const char * kProtobufUint64Typename ;
6465
You can’t perform that action at this time.
0 commit comments