@@ -56,10 +56,13 @@ @property (class, readonly, nonatomic) bool supportsSHAExtensions; # endif # if defined(OF_POWERPC) || defined(OF_POWERPC64) || defined(DOXYGEN) @property (class, readonly, nonatomic) bool supportsAltiVec; # endif +# ifdef OF_WINDOWS +@property (class, readonly, nonatomic, getter=isWindowsNT) bool windowsNT; +# endif #endif /*! * @brief Returns the size of a page. * @@ -284,11 +287,22 @@ * * @return Whether the CPU and OS support AltiVec */ + (bool)supportsAltiVec; #endif + +#ifdef OF_WINDOWS +/*! + * @brief Returns whether the application is running on Windows NT. + * + * @note This method is only available on Windows. + * + * @return Whether the application is running on Windows NT + */ ++ (bool)isWindowsNT; +#endif + (instancetype)alloc OF_UNAVAILABLE; - (instancetype)init OF_UNAVAILABLE; @end OF_ASSUME_NONNULL_END