From ffeb5dd19ddc0ef946901dfdf38900ea64cc5932 Mon Sep 17 00:00:00 2001 From: "jdunn%netscape.com" Date: Thu, 19 Aug 1999 21:24:06 +0000 Subject: [PATCH] Fix build error on AIX, which won't allow 'redefining' of functions (i.e memcopy) I talked this over with Nisheeth and the only reason this was put in was to fix compiler warnings. git-svn-id: svn://10.0.0.236/trunk@43692 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/expat/xmltok/xmldef.h | 3 --- mozilla/parser/expat/lib/xmldef.h | 3 --- 2 files changed, 6 deletions(-) diff --git a/mozilla/expat/xmltok/xmldef.h b/mozilla/expat/xmltok/xmldef.h index 7ce172ba5fa..ea3e12ee61c 100644 --- a/mozilla/expat/xmltok/xmldef.h +++ b/mozilla/expat/xmltok/xmldef.h @@ -60,9 +60,6 @@ particular environments. */ #define realloc(x, y) PR_Realloc((x), (size_t)(y)) #define calloc(x, y) PR_Calloc((x),(y)) #define free(x) PR_Free(x) -#define memcpy(x, y, z) memcpy((x), (y), (size_t)(z)) -#define memmove(x, y, z) memmove((x), (y), (size_t)(z)) -#define memcmp(x, y, z) memcmp((x), (y), (size_t)(z)) #if PR_BYTES_PER_INT != 4 typedef PRInt32 int; diff --git a/mozilla/parser/expat/lib/xmldef.h b/mozilla/parser/expat/lib/xmldef.h index 7ce172ba5fa..ea3e12ee61c 100644 --- a/mozilla/parser/expat/lib/xmldef.h +++ b/mozilla/parser/expat/lib/xmldef.h @@ -60,9 +60,6 @@ particular environments. */ #define realloc(x, y) PR_Realloc((x), (size_t)(y)) #define calloc(x, y) PR_Calloc((x),(y)) #define free(x) PR_Free(x) -#define memcpy(x, y, z) memcpy((x), (y), (size_t)(z)) -#define memmove(x, y, z) memmove((x), (y), (size_t)(z)) -#define memcmp(x, y, z) memcmp((x), (y), (size_t)(z)) #if PR_BYTES_PER_INT != 4 typedef PRInt32 int;