1/* 2The contents of this file are subject to the Mozilla Public License 3Version 1.0 (the "License"); you may not use this file except in 4compliance with the License. You may obtain a copy of the License at 5http://www.mozilla.org/MPL/ 6 7Software distributed under the License is distributed on an "AS IS" 8basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the 9License for the specific language governing rights and limitations 10under the License. 11 12The Original Code is expat. 13 14The Initial Developer of the Original Code is James Clark. 15Portions created by James Clark are Copyright (C) 1998 16James Clark. All Rights Reserved. 17 18Contributor(s): 19*/ 20 21/* This file can be used for any definitions needed in 22particular environments. */ 23 24#ifdef MOZILLA 25 26#include "nspr.h" 27#define malloc(x) PR_Calloc(1,(x)) 28#define calloc(x, y) PR_Calloc((x),(y)) 29#define free(x) PR_Free(x) 30#define int int32 31 32#endif /* MOZILLA */ 33