Protecting mozilla specific defines with MOZILLA_CLIENT...

This commit is contained in:
nisheeth%netscape.com 1999-08-26 00:18:25 +00:00
parent d3a5a968b9
commit 87b2a5400e
2 changed files with 6 additions and 0 deletions

View File

@ -54,6 +54,7 @@ particular environments. */
/*** /***
* Mozilla specific defines listed below * Mozilla specific defines listed below
*/ */
#ifdef MOZILLA_CLIENT
#include "nspr.h" #include "nspr.h"
#define malloc(x) PR_Malloc((size_t)(x)) #define malloc(x) PR_Malloc((size_t)(x))
@ -72,3 +73,5 @@ typedef PRInt32 int;
#ifndef XML_DTD #ifndef XML_DTD
#define XML_DTD 1 #define XML_DTD 1
#endif #endif
#endif

View File

@ -54,6 +54,7 @@ particular environments. */
/*** /***
* Mozilla specific defines listed below * Mozilla specific defines listed below
*/ */
#ifdef MOZILLA_CLIENT
#include "nspr.h" #include "nspr.h"
#define malloc(x) PR_Malloc((size_t)(x)) #define malloc(x) PR_Malloc((size_t)(x))
@ -72,3 +73,5 @@ typedef PRInt32 int;
#ifndef XML_DTD #ifndef XML_DTD
#define XML_DTD 1 #define XML_DTD 1
#endif #endif
#endif