Skip to content

Commit

Permalink
offset_ptr: fix __cplusplus check for msvc
Browse files Browse the repository at this point in the history
  • Loading branch information
pablohoch committed Aug 10, 2023
1 parent 60ae219 commit 591bf2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/cista/containers/offset_ptr.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#if defined(__has_include) && __cplusplus >= 202002L
#if defined(__has_include) && (_MSVC_LANG >= 202002L || __cplusplus >= 202002L)
#if __has_include(<bit>)
#include <bit>
#endif
Expand Down

0 comments on commit 591bf2e

Please sign in to comment.