Replaced MAX with max and deleted definition of MAX.

oldstable
Michael Stefaniuc 2001-12-19 18:47:46 +00:00 committed by Alexandre Julliard
parent 3bc5ffd3c6
commit 690d24f28e
2 changed files with 1 additions and 5 deletions

View File

@ -1333,7 +1333,7 @@ static void add_text_to_macro(char *text, int len)
if(mep->curargalloc - mep->curargsize <= len+1) /* +1 for '\0' */
{
mep->curargalloc += MAX(ALLOCBLOCKSIZE, len+1);
mep->curargalloc += max(ALLOCBLOCKSIZE, len+1);
mep->curarg = xrealloc(mep->curarg, mep->curargalloc * sizeof(mep->curarg[0]));
}
memcpy(mep->curarg + mep->curargsize, text, len);

View File

@ -25,10 +25,6 @@
#define WRC_VERSION WRC_VERSIONIZE(WRC_MAJOR_VERSION, WRC_MINOR_VERSION, WRC_MICRO_VERSION)
#define WRC_FULLVERSION WRC_VERSION " " WRC_RELEASEDATE
#ifndef MAX
#define MAX(a,b) ((a) > (b) ? (a) : (b))
#endif
/* From wrc.c */
extern int debuglevel;
#define DEBUGLEVEL_NONE 0x0000