Propagate warren's OJI-related XP_MAC pragma change from js/src.

This commit is contained in:
brendan%netscape.com 1998-08-25 08:21:09 +00:00
parent 1031f4fd6d
commit 3e606b67c1

View File

@ -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,