Skip to content

Commit

Permalink
fix windows compile by include <bit>
Browse files Browse the repository at this point in the history
  • Loading branch information
bbbgan committed Dec 7, 2023
1 parent 22c2461 commit fa09ec7
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 fa09ec7

Please sign in to comment.