WTF: Eliminated PLATFORM checks for HAVE_MACH_EXCEPTIONS
authormsaboff@apple.com <msaboff@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 24 Oct 2017 21:48:10 +0000 (21:48 +0000)
committermsaboff@apple.com <msaboff@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 24 Oct 2017 21:48:10 +0000 (21:48 +0000)
https://bugs.webkit.org/show_bug.cgi?id=178747

Reviewed by Saam Barati.

Removed unnecessary PLATFORM checks as they can cause build failures
when the include file is present.

* wtf/Platform.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@223926 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WTF/ChangeLog
Source/WTF/wtf/Platform.h

index 9ae6eff..ee42a27 100644 (file)
@@ -1,3 +1,15 @@
+2017-10-24  Michael Saboff  <msaboff@apple.com>
+
+        WTF: Eliminated PLATFORM checks for HAVE_MACH_EXCEPTIONS
+        https://bugs.webkit.org/show_bug.cgi?id=178747
+
+        Reviewed by Saam Barati.
+
+        Removed unnecessary PLATFORM checks as they can cause build failures
+        when the include file is present.
+
+        * wtf/Platform.h:
+
 2017-10-23  Yusuke Suzuki  <utatane.tea@gmail.com>
 
         [JSC] Use fastJoin in Array#toString
index a0a3b2d..abea4c3 100644 (file)
 #define HAVE_READLINE 1
 #define HAVE_SYS_TIMEB_H 1
 
-#if __has_include(<mach/mach_exc.defs>) && !(PLATFORM(WATCHOS) || PLATFORM(APPLETV))
+#if __has_include(<mach/mach_exc.defs>)
 #define HAVE_MACH_EXCEPTIONS 1
 #endif