From cf5fd08af6a20d5a12c4f0d24be289b00e45dcab Mon Sep 17 00:00:00 2001 From: "hardts%netscape.com" Date: Wed, 29 Jul 1998 20:38:47 +0000 Subject: [PATCH] Change from JRI_PUBLIC_API to PR_PUBLIC_API so NGLayout build will work git-svn-id: svn://10.0.0.236/trunk@6759 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/jpeg/jconfig.h | 1 - mozilla/jpeg/jmorecfg.h | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/mozilla/jpeg/jconfig.h b/mozilla/jpeg/jconfig.h index 6538d733143..4ea5fc7b648 100644 --- a/mozilla/jpeg/jconfig.h +++ b/mozilla/jpeg/jconfig.h @@ -22,7 +22,6 @@ */ #include "xp_core.h" /* get XP_ symbols */ -#include "jri.h" /* get JRI_PUBLIC_API macro */ /* We assume an ANSI C or C++ compilation environment */ diff --git a/mozilla/jpeg/jmorecfg.h b/mozilla/jpeg/jmorecfg.h index 4ed7345891a..de7e3be4175 100644 --- a/mozilla/jpeg/jmorecfg.h +++ b/mozilla/jpeg/jmorecfg.h @@ -198,12 +198,12 @@ typedef unsigned int JDIMENSION; /* a function used only in its module: */ #define LOCAL(type) static type /* a function referenced thru EXTERNs: */ -#define GLOBAL(type) JRI_PUBLIC_API(type) +#define GLOBAL(type) PR_PUBLIC_API(type) /* a reference to a GLOBAL function: */ #ifdef __cplusplus -#define EXTERN(type) extern "C" JRI_PUBLIC_API(type) +#define EXTERN(type) extern "C" PR_PUBLIC_API(type) #else -#define EXTERN(type) extern JRI_PUBLIC_API(type) +#define EXTERN(type) extern PR_PUBLIC_API(type) #endif