зеркало из https://github.com/mozilla/gecko-dev.git
Use hidden visibility for JPEG lib when we build it. b=359461 r=bsmedberg
This commit is contained in:
Родитель
befaeee83a
Коммит
038e34bd9a
|
@ -118,6 +118,7 @@ export::
|
|||
-DMOZ_ENABLE_LIBXUL=$(MOZ_ENABLE_LIBXUL) \
|
||||
-DMOZ_NATIVE_ZLIB=$(MOZ_NATIVE_ZLIB) \
|
||||
-DMOZ_NATIVE_PNG=$(MOZ_NATIVE_PNG) \
|
||||
-DMOZ_NATIVE_JPEG=$(MOZ_NATIVE_JPEG) \
|
||||
$(srcdir)/system-headers | $(PERL) $(topsrcdir)/nsprpub/config/make-system-wrappers.pl system_wrappers
|
||||
$(INSTALL) system_wrappers $(DIST)/include
|
||||
endif
|
||||
|
|
|
@ -287,7 +287,9 @@ JavaVM/jni.h
|
|||
JManager.h
|
||||
JNIEnvTests.h
|
||||
jni.h
|
||||
#if MOZ_NATIVE_JPEG==1
|
||||
jpeglib.h
|
||||
#endif
|
||||
JVMManagerTests.h
|
||||
Kerberos/Kerberos.h
|
||||
kernel/image.h
|
||||
|
|
|
@ -201,6 +201,7 @@ typedef unsigned int JDIMENSION;
|
|||
|
||||
/* Mozilla mod: make external functions be DLL-able via JRI_PUBLIC_API(),
|
||||
* and supply extern "C" for C++ users of the C-compiled IJG library.
|
||||
* (Well, not anymore, but there's still a modification here.)
|
||||
*/
|
||||
#include "prtypes.h"
|
||||
|
||||
|
@ -210,15 +211,8 @@ typedef unsigned int JDIMENSION;
|
|||
#define LOCAL(type) static type
|
||||
|
||||
PR_BEGIN_EXTERN_C
|
||||
#ifdef MOZ_ENABLE_LIBXUL
|
||||
#define GLOBAL(type) type
|
||||
#define EXTERN(type) extern type
|
||||
#else
|
||||
/* a function referenced thru EXTERNs: */
|
||||
#define GLOBAL(type) PR_IMPLEMENT(type)
|
||||
/* a reference to a GLOBAL function: */
|
||||
#define EXTERN(type) PR_EXTERN(type)
|
||||
#endif
|
||||
PR_END_EXTERN_C
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче