]> granicus.if.org Git - libexpat/commitdiff
Add definition of PR_Realloc under MOZILLA; also fix malloc to use
authorJames Clark <jjc@jclark.com>
Tue, 24 Nov 1998 08:44:37 +0000 (08:44 +0000)
committerJames Clark <jjc@jclark.com>
Tue, 24 Nov 1998 08:44:37 +0000 (08:44 +0000)
PR_Malloc

expat/xmltok/xmldef.h

index 7e7098b248df3d0359bbca1e6257fa7809d0430f..b2370591c888e1f8889fd8f526eaf3efbf7ebdf6 100755 (executable)
@@ -44,7 +44,8 @@ particular environments. */
 #ifdef MOZILLA
 
 #include "nspr.h"
-#define malloc(x) PR_Calloc(1,(x))
+#define malloc(x) PR_Malloc(x)
+#define realloc(x, y) PR_Realloc((x), (y))
 #define calloc(x, y) PR_Calloc((x),(y))
 #define free(x) PR_Free(x)
 #define int int32