src/video/cocoa/SDL_cocoawindow.m
changeset 5646 fe1df351ca3d
parent 5564 7ed38a8ad304
child 5873 be86fd8dca58
     1.1 --- a/src/video/cocoa/SDL_cocoawindow.m	Tue Aug 23 16:47:22 2011 -0400
     1.2 +++ b/src/video/cocoa/SDL_cocoawindow.m	Thu Aug 25 03:11:28 2011 -0400
     1.3 @@ -67,7 +67,7 @@
     1.4      [window setAcceptsMouseMovedEvents:YES];
     1.5  
     1.6      [view setNextResponder:self];
     1.7 -#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6
     1.8 +#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1060
     1.9      [view setAcceptsTouchEvents:YES];
    1.10  #endif
    1.11  }
    1.12 @@ -380,7 +380,7 @@
    1.13  
    1.14  - (void)handleTouches:(cocoaTouchType)type withEvent:(NSEvent *)event
    1.15  {
    1.16 -#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6
    1.17 +#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1060
    1.18      NSSet *touches = 0;
    1.19      NSEnumerator *enumerator;
    1.20      NSTouch *touch;
    1.21 @@ -442,7 +442,7 @@
    1.22          
    1.23          touch = (NSTouch*)[enumerator nextObject];
    1.24      }
    1.25 -#endif /* MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6 */
    1.26 +#endif /* MAC_OS_X_VERSION_MAX_ALLOWED >= 1060 */
    1.27  }
    1.28  
    1.29  @end