[Webkit-unassigned] [Bug 101780] New: objc/objc-runtime.h does not exist on all PLATFORM(MAC)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Nov 9 11:40:48 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=101780
Summary: objc/objc-runtime.h does not exist on all
PLATFORM(MAC)
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh
OS/Version: Other
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Web Template Framework
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: jeremy_wyld at mac.com
objc/objc-runtime.h does not exist on iOS. In fact on OSX, the entire contents of this include is
#include <objc/runtime.h>
#include <objc/message.h>
In order to build for iOS, one must either alter the installed SDK or alter wtf/Functional.h. Altering the SDK is incorrect.
Here's a diff from Safari-536.26 branch:
diff --git a/Source/WTF/wtf/Functional.h b/Source/WTF/wtf/Functional.h
index 48d9f32..ffff2d4 100644
--- a/Source/WTF/wtf/Functional.h
+++ b/Source/WTF/wtf/Functional.h
@@ -33,7 +33,8 @@
#if PLATFORM(MAC) && COMPILER_SUPPORTS(BLOCKS)
#include <Block.h>
-#include <objc/objc-runtime.h>
+#import <objc/runtime.h>
+#include <objc/message.h>
#endif
namespace WTF {
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list