Bug 108101

Summary: PLATFORM(IOS) should come before __MAC_OS_X_VERSION_MIN_REQUIRED
Product: WebKit Reporter: Pratik Solanki <psolanki>
Component: PlatformAssignee: Pratik Solanki <psolanki>
Status: RESOLVED FIXED    
Severity: Normal CC: ddkilzer, psolanki
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch benjamin: review+

Pratik Solanki
Reported 2013-01-28 12:32:39 PST
__MAC_OS_X_VERSION_MIN_REQUIRED is not defined on iOS so code like the following fails to achieve its intended purpose #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1080 && !PLATFORM(IOS) It should be updated to #if !PLATFORM(IOS) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1080
Attachments
Patch (6.85 KB, patch)
2013-01-28 12:36 PST, Pratik Solanki
benjamin: review+
Pratik Solanki
Comment 1 2013-01-28 12:36:08 PST
David Kilzer (:ddkilzer)
Comment 2 2013-01-28 12:38:18 PST
I fixed this as a BUILD FIX in r140988. <http://trac.webkit.org/changeset/140988>
Pratik Solanki
Comment 3 2013-01-28 12:40:11 PST
Yup. This is fixed.
Pratik Solanki
Comment 4 2013-01-28 12:42:30 PST
Umm. r140988 doesn't cover all the cases. There's a few more places that need to be fixed.
Pratik Solanki
Comment 5 2013-01-28 16:20:10 PST
Note You need to log in before you can comment on or make changes to this bug.