Skip to content

Commit

Permalink
fix bullshit around long long and int64_t
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertBColton committed Apr 20, 2019
1 parent 80b115e commit 7fddaaa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ENIGMAsystem/SHELL/Universal_System/var4.h
Expand Up @@ -87,7 +87,9 @@ template<> struct IntTypeEnabler<uint8_t> : EnabledType<uint8_t> {};
template<> struct IntTypeEnabler<uint16_t> : EnabledType<uint16_t> {}; template<> struct IntTypeEnabler<uint16_t> : EnabledType<uint16_t> {};
template<> struct IntTypeEnabler<uint32_t> : EnabledType<uint32_t> {}; template<> struct IntTypeEnabler<uint32_t> : EnabledType<uint32_t> {};
template<> struct IntTypeEnabler<uint64_t> : EnabledType<uint64_t> {}; template<> struct IntTypeEnabler<uint64_t> : EnabledType<uint64_t> {};
#ifndef _GLIBCXX_HAVE_INT64_T_LONG_LONG
template<> struct IntTypeEnabler<long long> : EnabledType<long long> {}; template<> struct IntTypeEnabler<long long> : EnabledType<long long> {};
#endif


template<typename T> struct FloatTypeEnabler {}; template<typename T> struct FloatTypeEnabler {};
template<> struct FloatTypeEnabler<float> : EnabledType<float> {}; template<> struct FloatTypeEnabler<float> : EnabledType<float> {};
Expand All @@ -105,7 +107,9 @@ template<> struct NumericTypeEnabler<uint8_t> : EnabledType<uint8_t> {};
template<> struct NumericTypeEnabler<uint16_t> : EnabledType<uint16_t> {}; template<> struct NumericTypeEnabler<uint16_t> : EnabledType<uint16_t> {};
template<> struct NumericTypeEnabler<uint32_t> : EnabledType<uint32_t> {}; template<> struct NumericTypeEnabler<uint32_t> : EnabledType<uint32_t> {};
template<> struct NumericTypeEnabler<uint64_t> : EnabledType<uint64_t> {}; template<> struct NumericTypeEnabler<uint64_t> : EnabledType<uint64_t> {};
#ifndef _GLIBCXX_HAVE_INT64_T_LONG_LONG
template<> struct NumericTypeEnabler<long long> : EnabledType<long long> {}; template<> struct NumericTypeEnabler<long long> : EnabledType<long long> {};
#endif
template<> struct NumericTypeEnabler<float> : EnabledType<float> {}; template<> struct NumericTypeEnabler<float> : EnabledType<float> {};
template<> struct NumericTypeEnabler<double> : EnabledType<double> {}; template<> struct NumericTypeEnabler<double> : EnabledType<double> {};
template<> struct NumericTypeEnabler<long double> : EnabledType<long double> {}; template<> struct NumericTypeEnabler<long double> : EnabledType<long double> {};
Expand All @@ -127,7 +131,9 @@ template<> struct ArithmeticTypeEnabler<uint8_t> : EnabledType<uint8_t> {};
template<> struct ArithmeticTypeEnabler<uint16_t> : EnabledType<uint16_t> {}; template<> struct ArithmeticTypeEnabler<uint16_t> : EnabledType<uint16_t> {};
template<> struct ArithmeticTypeEnabler<uint32_t> : EnabledType<uint32_t> {}; template<> struct ArithmeticTypeEnabler<uint32_t> : EnabledType<uint32_t> {};
template<> struct ArithmeticTypeEnabler<uint64_t> : EnabledType<uint64_t> {}; template<> struct ArithmeticTypeEnabler<uint64_t> : EnabledType<uint64_t> {};
#ifndef _GLIBCXX_HAVE_INT64_T_LONG_LONG
template<> struct ArithmeticTypeEnabler<long long> : EnabledType<long long> {}; template<> struct ArithmeticTypeEnabler<long long> : EnabledType<long long> {};
#endif
template<> struct ArithmeticTypeEnabler<float> : EnabledType<float> {}; template<> struct ArithmeticTypeEnabler<float> : EnabledType<float> {};
template<> struct ArithmeticTypeEnabler<double> : EnabledType<double> {}; template<> struct ArithmeticTypeEnabler<double> : EnabledType<double> {};
template<> struct ArithmeticTypeEnabler<long double> : EnabledType<long double> {}; template<> struct ArithmeticTypeEnabler<long double> : EnabledType<long double> {};
Expand Down

0 comments on commit 7fddaaa

Please sign in to comment.