Skip to content

Commit

Permalink
Change from #import to #include #14729
Browse files Browse the repository at this point in the history
This change allows the double-obfuscation guard code to happen in the
rare cases that it might. PCH files should never be included and only
imported, so this should be a relatively safe thing to do
  • Loading branch information
Earlz committed Apr 7, 2016
1 parent b181c89 commit 24d0ad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/CDClassDump.m
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ - (int)alterPrefixPCHFilesIn:(NSString *)prefixPCHDirectory
injectingImportFor:(NSString *)symbolsHeaderFileName
{
NSString * textToInsert
= [NSString stringWithFormat:@"#import \"%@\"\n", symbolsHeaderFileName];
= [NSString stringWithFormat:@"#include \"%@\"\n", symbolsHeaderFileName];

NSFileManager * fileManager = [NSFileManager new];
NSDirectoryEnumerator * enumerator = [fileManager enumeratorAtPath:prefixPCHDirectory];
Expand Down

0 comments on commit 24d0ad1

Please sign in to comment.