Commit 690d24f2 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

Replaced MAX with max and deleted definition of MAX.

parent 3bc5ffd3
......@@ -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);
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment