diff --git a/BUILD.bazel b/BUILD.bazel index 3543624..1b1fdd5 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -385,7 +385,7 @@ cc_library( copts = C99_FLAGS, includes = INCLUDES + ["ndk_compat"], target_compatible_with = select({ - PLATFORM_OS_WINDOWS: ["@platforms//:incompatible"], + "@platforms//os:windows": ["@platforms//:incompatible"], "//conditions:default": [], }), textual_hdrs = ["ndk_compat/cpu-features.h"],