Skip to content

Commit

Permalink
Merge pull request #233 from bbbgan/master
Browse files Browse the repository at this point in the history
fix windows compile by include <bit>
  • Loading branch information
qicosmos authored Dec 7, 2023
2 parents 22c2461 + fa09ec7 commit bc44256
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions iguana/define.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
#pragma once

#include <array>
#if __cplusplus >= 202002L
#if (defined(_MSC_VER) && _MSC_VER >= 1920 && _MSVC_LANG >= 202002L) || \
(!defined(_MSC_VER) && defined(__cplusplus) && __cplusplus >= 202002L)
#include <bit>
#endif
#include <array>
#include <string>
#include <string_view>
#include <type_traits>
Expand Down

0 comments on commit bc44256

Please sign in to comment.