diff --git a/benchmark/hashmap_build.cpp b/benchmark/hashmap_build.cpp index 479761728..7d63acb71 100644 --- a/benchmark/hashmap_build.cpp +++ b/benchmark/hashmap_build.cpp @@ -6,6 +6,10 @@ // #include "td/utils/FlatHashMap.h" +#ifdef SCOPE_EXIT +#undef SCOPE_EXIT +#endif + #include #include #include diff --git a/benchmark/hashset_memory.cpp b/benchmark/hashset_memory.cpp index ab453faaa..ce0214325 100644 --- a/benchmark/hashset_memory.cpp +++ b/benchmark/hashset_memory.cpp @@ -16,6 +16,10 @@ #include "td/utils/Slice.h" #include "td/utils/StringBuilder.h" +#ifdef SCOPE_EXIT +#undef SCOPE_EXIT +#endif + #include #include #include diff --git a/tdutils/test/hashset_benchmark.cpp b/tdutils/test/hashset_benchmark.cpp index 5b95cfb1a..7b9d8ce0d 100644 --- a/tdutils/test/hashset_benchmark.cpp +++ b/tdutils/test/hashset_benchmark.cpp @@ -17,6 +17,10 @@ #include "td/utils/Time.h" #include "td/utils/VectorQueue.h" +#ifdef SCOPE_EXIT +#undef SCOPE_EXIT +#endif + #include #include #include