mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 08:42:39 +01:00 
			
		
		
		
	Remove support for __int64 (#1820)
				
					
				
			This commit is contained in:
		| @@ -20,12 +20,6 @@ | ||||
| #  endif | ||||
| #endif | ||||
|  | ||||
| #if defined(_MSC_VER) && !ARDUINOJSON_HAS_LONG_LONG | ||||
| #  define ARDUINOJSON_HAS_INT64 1 | ||||
| #else | ||||
| #  define ARDUINOJSON_HAS_INT64 0 | ||||
| #endif | ||||
|  | ||||
| // Support std::istream and std::ostream | ||||
| #ifndef ARDUINOJSON_ENABLE_STD_STREAM | ||||
| #  ifdef __has_include | ||||
|   | ||||
| @@ -26,10 +26,6 @@ struct is_integral : integral_constant<bool, | ||||
| #if ARDUINOJSON_HAS_LONG_LONG | ||||
|     is_same<typename remove_cv<T>::type, signed long long>::value || | ||||
|     is_same<typename remove_cv<T>::type, unsigned long long>::value || | ||||
| #endif | ||||
| #if ARDUINOJSON_HAS_INT64 | ||||
|     is_same<typename remove_cv<T>::type, signed __int64>::value || | ||||
|     is_same<typename remove_cv<T>::type, unsigned __int64>::value || | ||||
| #endif | ||||
|     is_same<typename remove_cv<T>::type, char>::value || | ||||
|     is_same<typename remove_cv<T>::type, bool>::value> {}; | ||||
|   | ||||
| @@ -20,9 +20,6 @@ struct is_signed : integral_constant<bool, | ||||
|     is_same<typename remove_cv<T>::type, signed long>::value || | ||||
| #if ARDUINOJSON_HAS_LONG_LONG | ||||
|     is_same<typename remove_cv<T>::type, signed long long>::value || | ||||
| #endif | ||||
| #if ARDUINOJSON_HAS_INT64 | ||||
|     is_same<typename remove_cv<T>::type, signed __int64>::value || | ||||
| #endif | ||||
|     is_same<typename remove_cv<T>::type, float>::value || | ||||
|     is_same<typename remove_cv<T>::type, double>::value> {}; | ||||
|   | ||||
| @@ -17,9 +17,6 @@ struct is_unsigned : integral_constant<bool, | ||||
|     is_same<typename remove_cv<T>::type, unsigned short>::value || | ||||
|     is_same<typename remove_cv<T>::type, unsigned int>::value || | ||||
|     is_same<typename remove_cv<T>::type, unsigned long>::value || | ||||
| #if ARDUINOJSON_HAS_INT64 | ||||
|     is_same<typename remove_cv<T>::type, unsigned __int64>::value || | ||||
| #endif | ||||
| #if ARDUINOJSON_HAS_LONG_LONG | ||||
|     is_same<typename remove_cv<T>::type, unsigned long long>::value || | ||||
| #endif | ||||
|   | ||||
| @@ -39,11 +39,4 @@ struct make_unsigned<signed long long> : type_identity<unsigned long long> {}; | ||||
| template <> | ||||
| struct make_unsigned<unsigned long long> : type_identity<unsigned long long> {}; | ||||
| #endif | ||||
|  | ||||
| #if ARDUINOJSON_HAS_INT64 | ||||
| template <> | ||||
| struct make_unsigned<signed __int64> : type_identity<unsigned __int64> {}; | ||||
| template <> | ||||
| struct make_unsigned<unsigned __int64> : type_identity<unsigned __int64> {}; | ||||
| #endif | ||||
| }  // namespace ARDUINOJSON_NAMESPACE | ||||
|   | ||||
		Reference in New Issue
	
	Block a user