Skip to content

Commit

Permalink
Merge branch 'v2' of github.com:owt5008137/libcopp into v2
Browse files Browse the repository at this point in the history
  • Loading branch information
owent committed Jun 7, 2017
2 parents 813f3ab + 65e5b9d commit 9e29b6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/libcopp/coroutine/coroutine_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ namespace copp {
// static size_t random_index = 0;
// UTIL_CONFIG_CONSTEXPR size_t random_mask = 63;
#if (defined(__cplusplus) && __cplusplus >= 201103L) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || \
(defined(_MSC_VER) && _MSC_VER >= 1600)
(defined(_MSC_VER) && _MSC_VER >= 1700)
UTIL_CONFIG_CONSTEXPR size_t align_mask = sizeof(max_align_t) - 1;
#else
UTIL_CONFIG_CONSTEXPR size_t align_mask = 2 * sizeof(long double) - 1;
Expand All @@ -223,7 +223,7 @@ namespace copp {

static inline size_t align_address_size(size_t sz) {
#if (defined(__cplusplus) && __cplusplus >= 201103L) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || \
(defined(_MSC_VER) && _MSC_VER >= 1600)
(defined(_MSC_VER) && _MSC_VER >= 1700)
UTIL_CONFIG_CONSTEXPR size_t align_mask = sizeof(max_align_t) - 1;
#else
UTIL_CONFIG_CONSTEXPR size_t align_mask = 2 * sizeof(long double) - 1;
Expand Down

0 comments on commit 9e29b6b

Please sign in to comment.