Title: [118656] trunk/Tools
Revision
118656
Author
[email protected]
Date
2012-05-28 02:03:41 -0700 (Mon, 28 May 2012)

Log Message

Fix mac build with older XCode by defining NSEC_PER_MSEC.
https://bugs.webkit.org/show_bug.cgi?id=87616

Reviewed by Hajime Morita.

The following patch introduced the use of NSEC_PER_MSEC which is not defined for older XCode versions.
http://trac.webkit.org/changeset/118631/trunk/Tools/DumpRenderTree/mac/FrameLoadDelegate.mm
Patch just adds a #ifndef / #define check.

* DumpRenderTree/mac/FrameLoadDelegate.mm:
(-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (118655 => 118656)


--- trunk/Tools/ChangeLog	2012-05-28 08:53:45 UTC (rev 118655)
+++ trunk/Tools/ChangeLog	2012-05-28 09:03:41 UTC (rev 118656)
@@ -1,3 +1,17 @@
+2012-05-28  Luke Macpherson  <[email protected]>
+
+        Fix mac build with older XCode by defining NSEC_PER_MSEC.
+        https://bugs.webkit.org/show_bug.cgi?id=87616
+
+        Reviewed by Hajime Morita.
+
+        The following patch introduced the use of NSEC_PER_MSEC which is not defined for older XCode versions.
+        http://trac.webkit.org/changeset/118631/trunk/Tools/DumpRenderTree/mac/FrameLoadDelegate.mm
+        Patch just adds a #ifndef / #define check.
+
+        * DumpRenderTree/mac/FrameLoadDelegate.mm:
+        (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
+
 2012-05-27  Sudarsana Nagineni  <[email protected]>
 
         [EFL] Enable blob support for the EFL port

Modified: trunk/Tools/DumpRenderTree/mac/FrameLoadDelegate.mm (118655 => 118656)


--- trunk/Tools/DumpRenderTree/mac/FrameLoadDelegate.mm	2012-05-28 08:53:45 UTC (rev 118655)
+++ trunk/Tools/DumpRenderTree/mac/FrameLoadDelegate.mm	2012-05-28 09:03:41 UTC (rev 118656)
@@ -54,6 +54,10 @@
 #import <WebKit/WebViewPrivate.h>
 #import <wtf/Assertions.h>
 
+#ifndef NSEC_PER_MSEC
+#define NSEC_PER_MSEC 1000000ull
+#endif
+
 @interface NSURL (DRTExtras)
 - (NSString *)_drt_descriptionSuitableForTestResult;
 @end
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to