mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 1244128 - stop exporting js friend api symbols from libxul r=glandium
This commit is contained in:
parent
9dff97a005
commit
ca7d9925ad
@ -70,18 +70,16 @@
|
||||
#if defined(STATIC_JS_API)
|
||||
# define JS_PUBLIC_API(t) t
|
||||
# define JS_PUBLIC_DATA(t) t
|
||||
# define JS_FRIEND_API(t) t
|
||||
# define JS_FRIEND_DATA(t) t
|
||||
#elif defined(EXPORT_JS_API) || defined(STATIC_EXPORTABLE_JS_API)
|
||||
# define JS_PUBLIC_API(t) MOZ_EXPORT t
|
||||
# define JS_PUBLIC_DATA(t) MOZ_EXPORT t
|
||||
#else
|
||||
# define JS_PUBLIC_API(t) MOZ_IMPORT_API t
|
||||
# define JS_PUBLIC_DATA(t) MOZ_IMPORT_DATA t
|
||||
#endif
|
||||
|
||||
#if defined(STATIC_JS_API) || defined(EXPORT_JS_API) || defined(STATIC_EXPORTABLE_JS_API)
|
||||
# define JS_FRIEND_API(t) MOZ_EXPORT t
|
||||
# define JS_FRIEND_DATA(t) MOZ_EXPORT t
|
||||
#else
|
||||
# define JS_PUBLIC_API(t) MOZ_IMPORT_API t
|
||||
# define JS_PUBLIC_DATA(t) MOZ_IMPORT_DATA t
|
||||
# define JS_FRIEND_API(t) MOZ_IMPORT_API t
|
||||
# define JS_FRIEND_DATA(t) MOZ_IMPORT_DATA t
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user