Changeset 12470 in webkit for trunk/JavaScriptCore/kjs
- Timestamp:
- Jan 29, 2006, 9:58:39 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/lookup.h
r12468 r12470 294 294 * then the last line will use IMPLEMENT_PROTOTYPE_WITH_PARENT, with DOMNodeProto as last argument. 295 295 */ 296 297 // Work around a bug in GCC 4.1 298 #if !__GNUC__ 299 #define KJS_GCC_ROOT_NS_HACK :: 300 #else 301 #define KJS_GCC_ROOT_NS_HACK 302 #endif 303 296 304 #define KJS_DEFINE_PROTOTYPE(ClassProto) \ 297 305 class ClassProto : public KJS::JSObject { \ 298 friend KJS::JSObject * ::cacheGlobalObject<ClassProto>(KJS::ExecState *exec, const KJS::Identifier &propertyName); \306 friend KJS::JSObject *KJS_GCC_ROOT_NS_HACK cacheGlobalObject<ClassProto>(KJS::ExecState *exec, const KJS::Identifier &propertyName); \ 299 307 public: \ 300 308 static KJS::JSObject *ClassProto::self(KJS::ExecState *exec); \
Note:
See TracChangeset
for help on using the changeset viewer.