I broke the build in High Sierra with my r244545 patch.
Created attachment 368055 [details] Patch
Attachment 368055 [details] did not pass style-queue: ERROR: Source/WebKit/Platform/spi/mac/AppKitSPI.h:60: Misplaced OS version check. Please use a named macro in wtf/Platform.h, wtf/FeatureDefines.h, or an appropriate internal file. [build/version_check] [5] Total errors found: 1 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 368056 [details] Better Patch
Attachment 368056 [details] did not pass style-queue: ERROR: Source/WebKit/Platform/spi/mac/AppKitSPI.h:45: Misplaced OS version check. Please use a named macro in wtf/Platform.h, wtf/FeatureDefines.h, or an appropriate internal file. [build/version_check] [5] ERROR: Source/WebKit/Platform/spi/mac/AppKitSPI.h:62: Misplaced OS version check. Please use a named macro in wtf/Platform.h, wtf/FeatureDefines.h, or an appropriate internal file. [build/version_check] [5] Total errors found: 2 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 368057 [details] For Real This Time Patch
Attachment 368057 [details] did not pass style-queue: ERROR: Source/WebKit/Platform/spi/mac/AppKitSPI.h:50: Misplaced OS version check. Please use a named macro in wtf/Platform.h, wtf/FeatureDefines.h, or an appropriate internal file. [build/version_check] [5] ERROR: Source/WebKit/Platform/spi/mac/AppKitSPI.h:62: Misplaced OS version check. Please use a named macro in wtf/Platform.h, wtf/FeatureDefines.h, or an appropriate internal file. [build/version_check] [5] Total errors found: 2 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 368057 [details] For Real This Time Patch Clearing flags on attachment: 368057 Committed r244564: <https://trac.webkit.org/changeset/244564>
All reviewed patches have been landed. Closing bug.
<rdar://problem/50142673>