Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tsl/platform/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ cc_library(
deps = [
":platform",
":tstring",
"@com_google_absl//absl/base:core_headers",
"@xla//xla/tsl/platform:types",
] + tsl_protobuf_deps(),
)
Expand Down
5 changes: 3 additions & 2 deletions tsl/platform/protobuf.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ limitations under the License.
#include <string>
#include <utility>

#include "absl/base/macros.h"
#include "xla/tsl/platform/types.h"
#include "tsl/platform/platform.h"

Expand Down Expand Up @@ -57,8 +58,8 @@ limitations under the License.
namespace tsl {

namespace protobuf = ::google::protobuf;
using protobuf_int64 = int64_t;
using protobuf_uint64 = uint64_t;
using protobuf_int64 ABSL_DEPRECATE_AND_INLINE() = int64_t;
using protobuf_uint64 ABSL_DEPRECATE_AND_INLINE() = uint64_t;
extern const char* kProtobufInt64Typename;
extern const char* kProtobufUint64Typename;

Expand Down
Loading