Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
690d24f2
Commit
690d24f2
authored
Dec 19, 2001
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Dec 19, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replaced MAX with max and deleted definition of MAX.
parent
3bc5ffd3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
5 deletions
+1
-5
ppl.l
tools/wrc/ppl.l
+1
-1
wrc.h
tools/wrc/wrc.h
+0
-4
No files found.
tools/wrc/ppl.l
View file @
690d24f2
...
...
@@ -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);
...
...
tools/wrc/wrc.h
View file @
690d24f2
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment