Skip to content
This repository was archived by the owner on Jun 2, 2018. It is now read-only.
This repository was archived by the owner on Jun 2, 2018. It is now read-only.

Why should you define DISPATCH_CANCELLATION_SUPPORTED? #366

Open

Description

@broccolii

I saw this code in NSObject + BKBlockExecution.m

#if (defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 80000) || (defined(__MAC_OS_X_VERSION_MAX_ALLOWED) && __MAC_OS_X_VERSION_MAX_ALLOWED >= 1010)
#define DISPATCH_CANCELLATION_SUPPORTED 1
#else
#define DISPATCH_CANCELLATION_SUPPORTED 1
#227 

Why should you define DISPATCH_CANCELLATION_SUPPORTED?

Activity

  1. ZeroOnet commented on Aug 14, 2017

    @ZeroOnet

    Yeah,It's also my problem! But no one explanation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions