![]() |
torcs - 1.2.2 | ![]() |
00001 /* 00002 The contents of this file are subject to the Mozilla Public License 00003 Version 1.0 (the "License"); you may not use this file except in 00004 compliance with the License. You may obtain a copy of the License at 00005 http://www.mozilla.org/MPL/ 00006 00007 Software distributed under the License is distributed on an "AS IS" 00008 basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the 00009 License for the specific language governing rights and limitations 00010 under the License. 00011 00012 The Original Code is expat. 00013 00014 The Initial Developer of the Original Code is James Clark. 00015 Portions created by James Clark are Copyright (C) 1998 00016 James Clark. All Rights Reserved. 00017 00018 Contributor(s): 00019 $Id: xmldef.h,v 1.1.1.1 2001/06/24 18:29:48 torcs Exp $ 00020 */ 00021 00022 /* This file can be used for any definitions needed in 00023 particular environments. */ 00024 00025 #ifdef MOZILLA 00026 00027 #include "nspr.h" 00028 #define malloc(x) PR_Calloc(1,(x)) 00029 #define calloc(x, y) PR_Calloc((x),(y)) 00030 #define free(x) PR_Free(x) 00031 #define int int32 00032 00033 #endif /* MOZILLA */