Merge pull request #14891 from mogemimi/fix-extra-tokens-warning

Fix warning: extra tokens at end of #ifdef directive
This commit is contained in:
zilongshanren 2016-01-21 10:51:01 +08:00
commit 790c7b4b79
1 changed files with 1 additions and 1 deletions

View File

@ -427,7 +427,7 @@ Copyright (C) 2008 Apple Inc. All Rights Reserved.
ids[i] = touch;
xs[i] = [touch locationInView: [touch view]].x * self.contentScaleFactor;;
ys[i] = [touch locationInView: [touch view]].y * self.contentScaleFactor;;
#ifdef __IPHONE_9_0 && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_9_0
#if defined(__IPHONE_9_0) && (__IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_9_0)
// running on iOS 9.0 or higher version
if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 9.0f) {
fs[i] = touch.force;