Skip to content

Commit

Permalink
Work around availability mistake from Xcode 12.5+.
Browse files Browse the repository at this point in the history
  • Loading branch information
saurik committed May 11, 2022
1 parent b7b7218 commit d9b811a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions min-webrtc/extra/absl/base/options.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#include_next <absl/base/options.h>
// XXX: maybe only #ifdef __APPLE__?
// iOS 11 does NOT have std::variant
#undef ABSL_OPTION_USE_STD_ANY
#define ABSL_OPTION_USE_STD_ANY 0
#undef ABSL_OPTION_USE_STD_OPTIONAL
#define ABSL_OPTION_USE_STD_OPTIONAL 0
#undef ABSL_OPTION_USE_STD_VARIANT
#define ABSL_OPTION_USE_STD_VARIANT 0

0 comments on commit d9b811a

Please sign in to comment.