Disable ABSL_DEFINE_UNQUALIFIED_STATUS_MACROS in OSS

PiperOrigin-RevId: 917960707
Change-Id: I2bf388a82f324d63f45ea44929847fdc19f84d7a
This commit is contained in:
Abseil Team
2026-05-19 12:16:12 -07:00
committed by Copybara-Service
parent 23837c607e
commit ad00fb75a8

View File

@@ -475,8 +475,6 @@ inline StatusAdaptorForMacros MacroAdaptor(StatusBuilder&& s,
// use is historically ubiquitous. Other OSS Google projects should use the
// qualified versions.
//
// TODO(b/491833032): Strip in OSS
#define ABSL_DEFINE_UNQUALIFIED_STATUS_MACROS 1
#ifdef ABSL_DEFINE_UNQUALIFIED_STATUS_MACROS
#define ASSIGN_OR_RETURN(...) ABSL_ASSIGN_OR_RETURN(__VA_ARGS__)
#define RETURN_IF_ERROR(...) ABSL_RETURN_IF_ERROR(__VA_ARGS__)