adjustments for darwin/clang build
This commit is contained in:
parent
77b2514746
commit
3343a7148a
5 changed files with 49 additions and 11 deletions
|
|
@ -2,6 +2,9 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#ifdef __APPL__
|
||||
# include <vector> // for std::size_t when building with clang18
|
||||
#endif
|
||||
#include <cstdint>
|
||||
|
||||
namespace xo {
|
||||
|
|
@ -58,7 +61,7 @@ namespace xo {
|
|||
}
|
||||
|
||||
/** @brief number of built-in dimensions, convenient for array sizing **/
|
||||
static constexpr std::size_t n_dim = static_cast<std::size_t>(dimension::n_dim);
|
||||
static constexpr std::uint64_t n_dim = static_cast<std::uint64_t>(dimension::n_dim);
|
||||
} /*namespace qty*/
|
||||
} /*namespace xo*/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue