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
This commit is contained in:
hardts%netscape.com
1998-07-29 20:38:47 +00:00
parent e587c8d3a2
commit cf5fd08af6
2 changed files with 3 additions and 4 deletions

View File

@@ -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 */

View File

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