     let build = systemVersion?["ProductBuildVersion"] as? String ?? ""
     let info = NSProcessInfo.processInfo()
     let description = info.operatingSystemVersionString
-    if #available(OSX 10.10, OSXApplicationExtension 10.10,  iOS 8.0, iOSApplicationExtension 8.0, watchOS 2.0, *) {
+    if #available(OSX 10.10, OSXApplicationExtension 10.10,  iOS 8.0, iOSApplicationExtension 8.0, *) {
         let version = info.operatingSystemVersion
         return (description, version.majorVersion, version.minorVersion, version.patchVersion, build)
     } else {


    /// Returns whether the given date is the same date as "today". Exists as a compatibility shim for older operating systems.
    internal func isDateSameAsToday(date: NSDate) -> Bool {
        if #available(iOS 8.0, iOSApplicationExtension 8.0, watchOS 2.0, *) {
            return self.isDateInToday(date)
        } else {
            let today = NSDate()


/// The default queue used throughout the framework for background tasks.
internal let LK_LOGKIT_QUEUE: dispatch_queue_t = {
    if #available(OSX 10.10, OSXApplicationExtension 10.10,  iOS 8.0, iOSApplicationExtension 8.0, *) {
        return dispatch_get_global_queue(QOS_CLASS_DEFAULT, 0)
    } else {
        return dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0)
