chore(zlib.BUILD): use @platforms instead of @bazel_tools (#13326)

Closes https://github.com/protocolbuffers/protobuf/issues/13250

Closes #13326

COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/13326 from 4kangjc:main 205b10a771
PiperOrigin-RevId: 548787567
pull/13335/head
kang jinci 2023-07-17 13:42:04 -07:00 committed by Copybara-Service
parent 7e9d0c1630
commit 7276da46ce
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ cc_library(
] + _ZLIB_HEADERS,
hdrs = _ZLIB_PREFIXED_HEADERS,
copts = select({
"@bazel_tools//src/conditions:windows": [],
"@platforms//os:windows": [],
"//conditions:default": [
"-Wno-deprecated-non-prototype",
"-Wno-unused-variable",