Changes between Initial Version and Version 1 of Ticket #48471, comment 52
- Timestamp:
- Oct 26, 2015, 11:47:37 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #48471, comment 52
initial v1 14 14 > 15 15 > Yes, I know about SIP and how to turn it on and off, but for the obvious reasons hesitate to do so. So: 16 > (1) Is there to be some other workaround?17 > (2) In case I dare to turn off SIP temporarily...18 16 > 19 > Is it literally just the several instances of {{{ 'defined(__has_feature)' }}} that have to be replaced? 17 > 1. Is there to be some other workaround? 18 > 2. In case I dare to turn off SIP temporarily... 19 > 20 > Is it literally just the several instances of {{{ 'defined(__has_feature)' }}} that have to be replaced? 20 21 21 Only the ones that are preceding __has_attribute() usage. Don't replace the ones that are correctly guarding __has_feature()usage. If you don't know what that means, then don't make any changes.22 Only the ones that are preceding `__has_attribute()` usage. Don't replace the ones that are correctly guarding `__has_feature()` usage. If you don't know what that means, then don't make any changes. 22 23 23 24 > I ask because in Availability.h there are other mentions of "availability", such as in 24 > {{{'#if __has_feature(attribute_availability_*)'}}} where what follows {{{'availability'}}} could be {{{'twos'}}}, {{{'watchOS'}}}, {{{'app_extension'}}}, etc.25 > {{{'#if __has_feature(attribute_availability_*)'}}} where what follows {{{'availability'}}} could be {{{'twos'}}}, {{{'watchOS'}}}, {{{'app_extension'}}}, etc. 25 26 26 I suggest you don't make manual changes if you're not absolutely clear to you what the problem is just by looking at the code block shown in comment #24. Making a mistake in editing that file can have further fallout.27 I suggest you don't make manual changes if you're not absolutely clear to you what the problem is just by looking at the code block shown in comment:24. Making a mistake in editing that file can have further fallout.