Question

What's the Clang preprocessor flag for Objective-C block support?

Was it helpful?

Solution

__BLOCKS__

This dumps all the compiler defined macros:

clang -dM -E - < /dev/null
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top