From 0267733534b1b2afb9ebfaa0a6fd7de5abf81ab2 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. --- expat/xmltok/xmldef.h | 3 --- parser/expat/lib/xmldef.h | 3 --- 2 files changed, 6 deletions(-) diff --git a/expat/xmltok/xmldef.h b/expat/xmltok/xmldef.h index 7ce172ba5fa..ea3e12ee61c 100644 --- a/expat/xmltok/xmldef.h +++ b/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/parser/expat/lib/xmldef.h b/parser/expat/lib/xmldef.h index 7ce172ba5fa..ea3e12ee61c 100644 --- a/parser/expat/lib/xmldef.h +++ b/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;