mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -04:00
putil: workaround macOS 10.6 compile error until #300 is fixed
[skip ci]
This commit is contained in:
parent
190c553c57
commit
283d43f988
@ -12,13 +12,14 @@
|
||||
*/
|
||||
|
||||
#include "bitMask.h"
|
||||
#include <type_traits>
|
||||
|
||||
template class BitMask<uint16_t, 16>;
|
||||
template class BitMask<uint32_t, 32>;
|
||||
template class BitMask<uint64_t, 64>;
|
||||
|
||||
#ifndef CPPPARSER
|
||||
#if !defined(CPPPARSER) && !defined(__APPLE__)
|
||||
#include <type_traits>
|
||||
|
||||
static_assert(std::is_literal_type<BitMask16>::value, "BitMask16 is not a literal type");
|
||||
static_assert(std::is_literal_type<BitMask32>::value, "BitMask32 is not a literal type");
|
||||
static_assert(std::is_literal_type<BitMask64>::value, "BitMask64 is not a literal type");
|
||||
|
@ -12,12 +12,13 @@
|
||||
*/
|
||||
|
||||
#include "doubleBitMask.h"
|
||||
#include <type_traits>
|
||||
|
||||
template class DoubleBitMask<BitMaskNative>;
|
||||
template class DoubleBitMask<DoubleBitMaskNative>;
|
||||
|
||||
#ifndef CPPPARSER
|
||||
#if !defined(CPPPARSER) && !defined(__APPLE__)
|
||||
#include <type_traits>
|
||||
|
||||
static_assert(std::is_literal_type<DoubleBitMaskNative>::value, "DoubleBitMaskNative is not a literal type");
|
||||
static_assert(std::is_literal_type<QuadBitMaskNative>::value, "QuadBitMaskNative is not a literal type");
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user