From 1d8a6c70e81607502497940d61f77b7f432c9d7f Mon Sep 17 00:00:00 2001 From: "brendan%netscape.com" Date: Tue, 25 Aug 1998 08:21:09 +0000 Subject: [PATCH] Propagate warren's OJI-related XP_MAC pragma change from js/src. --- js/ref/jsobj.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/js/ref/jsobj.c b/js/ref/jsobj.c index 781922ea470..3d3f9d0dd74 100644 --- a/js/ref/jsobj.c +++ b/js/ref/jsobj.c @@ -55,6 +55,10 @@ js_DropProperty(JSContext *cx, JSObject *obj, JSProperty *prop); #define NATIVE_DROP_PROPERTY NULL #endif +#ifdef XP_MAC +#pragma export on +#endif + JS_FRIEND_DATA(JSObjectOps) js_ObjectOps = { js_NewObjectMap, js_DestroyObjectMap, #if defined JS_THREADSAFE && defined DEBUG @@ -71,6 +75,10 @@ JS_FRIEND_DATA(JSObjectOps) js_ObjectOps = { NULL, js_HasInstance }; +#ifdef XP_MAC +#pragma export off +#endif + JSClass js_ObjectClass = { js_Object_str, 0,