Skip to content

Commit

Permalink
Add compiler version checks
Browse files Browse the repository at this point in the history
  • Loading branch information
landelare committed Jul 3, 2024
1 parent 090a0b4 commit d975340
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Source/UE5Coro/Public/UE5Coro/Definition.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,7 @@
#endif

static_assert(sizeof(void*) == 8, "UE5Coro only supports 64-bit platforms");

#if defined(_MSC_VER) && !defined(__clang__) && _MSC_VER < 1941
#error UE5Coro requires MSVC v14.41 or newer
#endif

0 comments on commit d975340

Please sign in to comment.