From: <ho...@us...> - 2009-02-25 15:19:16
|
Revision: 5216 http://skim-app.svn.sourceforge.net/skim-app/?rev=5216&view=rev Author: hofman Date: 2009-02-25 15:19:12 +0000 (Wed, 25 Feb 2009) Log Message: ----------- avoid use of private runtime implementation details Modified Paths: -------------- trunk/Skim_Prefix.pch Modified: trunk/Skim_Prefix.pch =================================================================== --- trunk/Skim_Prefix.pch 2009-02-24 15:53:26 UTC (rev 5215) +++ trunk/Skim_Prefix.pch 2009-02-25 15:19:12 UTC (rev 5216) @@ -5,7 +5,6 @@ #ifdef __OBJC__ #import <Cocoa/Cocoa.h> - #import <objc/objc-class.h> #import <Quartz/Quartz.h> #ifndef NSAppKitVersionNumber10_4 @@ -18,7 +17,7 @@ #if defined (DEBUG) #define log_method() \ - NSLog(@"%@[%@ %@] (%@ line %d)", CLS_GETINFO((struct objc_class *)(self->isa), CLS_META) ? @"+" : @"-", \ + NSLog(@"%@[%@ %@] (%@ line %d)", (id)[self class] == (id)self ? @"+" : @"-", \ [self class], NSStringFromSelector(_cmd), __SKFILENAMEASNSSTRING, __LINE__) #define log_function() \ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |