mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Protecting mozilla specific defines with MOZILLA_CLIENT...
This commit is contained in:
parent
d3a5a968b9
commit
87b2a5400e
@ -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
|
@ -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
|
Loading…
Reference in New Issue
Block a user