< prev index next >

src/java.desktop/macosx/native/libosxapp/NSApplicationAWT.m

Print this page

        

@@ -340,13 +340,11 @@
     [super orderFrontStandardAboutPanelWithOptions:optionsDictionary];
 }
 
 #define DRAGMASK (NSMouseMovedMask | NSLeftMouseDraggedMask | NSRightMouseDownMask | NSRightMouseDraggedMask | NSLeftMouseUpMask | NSRightMouseUpMask | NSFlagsChangedMask | NSKeyDownMask)
 
-#if defined(MAC_OS_X_VERSION_10_12) && \
-   MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_12 && \
-   __LP64__
+#if defined(MAC_OS_X_VERSION_10_12) && __LP64__
    // 10.12 changed `mask` to NSEventMask (unsigned long long) for x86_64 builds.
 - (NSEvent *)nextEventMatchingMask:(NSEventMask)mask
 #else
 - (NSEvent *)nextEventMatchingMask:(NSUInteger)mask
 #endif
< prev index next >