mirror of https://github.com/axmolengine/axmol.git
Merge pull request #14891 from mogemimi/fix-extra-tokens-warning
Fix warning: extra tokens at end of #ifdef directive
This commit is contained in:
commit
790c7b4b79
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue