src/video/cocoa/SDL_cocoawindow.m
changeset 5646 fe1df351ca3d
parent 5564 7ed38a8ad304
child 5873 be86fd8dca58
--- a/src/video/cocoa/SDL_cocoawindow.m	Tue Aug 23 16:47:22 2011 -0400
+++ b/src/video/cocoa/SDL_cocoawindow.m	Thu Aug 25 03:11:28 2011 -0400
@@ -67,7 +67,7 @@
     [window setAcceptsMouseMovedEvents:YES];
 
     [view setNextResponder:self];
-#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6
+#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1060
     [view setAcceptsTouchEvents:YES];
 #endif
 }
@@ -380,7 +380,7 @@
 
 - (void)handleTouches:(cocoaTouchType)type withEvent:(NSEvent *)event
 {
-#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6
+#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1060
     NSSet *touches = 0;
     NSEnumerator *enumerator;
     NSTouch *touch;
@@ -442,7 +442,7 @@
         
         touch = (NSTouch*)[enumerator nextObject];
     }
-#endif /* MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6 */
+#endif /* MAC_OS_X_VERSION_MAX_ALLOWED >= 1060 */
 }
 
 @end