Skip to content

Commit

Permalink
Merge pull request #22 from BenPope/redpanda-v22.1.x-coroutine
Browse files Browse the repository at this point in the history
Redpanda v22.1.x coroutine
  • Loading branch information
jcsp committed May 24, 2022
2 parents 5531940 + 460ca88 commit 0fd17f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/seastar/core/std-coroutine.hh
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@

#pragma once

// Clang currently only supports the TS
#if __has_include(<coroutine>) && !defined(__clang__)
// Clang < 14 only supports the TS
#if __has_include(<coroutine>) && (!defined(__clang__) || __clang_major__ >= 14)
#include <coroutine>
#define SEASTAR_INTERNAL_COROUTINE_NAMESPACE std
#elif __has_include(<experimental/coroutine>)
Expand Down

0 comments on commit 0fd17f4

Please sign in to comment.