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
954c592a
Commit
954c592a
authored
Sep 13, 2006
by
Dan Hipschman
Committed by
Alexandre Julliard
Sep 14, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Replace a #if by if for better compiler checking.
parent
6e7389ad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
utils.c
tools/widl/utils.c
+5
-6
No files found.
tools/widl/utils.c
View file @
954c592a
...
...
@@ -34,10 +34,9 @@
#include "utils.h"
#include "parser.h"
/* #define WANT_NEAR_INDICATION */
static
const
int
want_near_indication
=
0
;
#ifdef WANT_NEAR_INDICATION
void
make_print
(
char
*
str
)
static
void
make_print
(
char
*
str
)
{
while
(
*
str
)
{
...
...
@@ -46,13 +45,13 @@ void make_print(char *str)
str
++
;
}
}
#endif
static
void
generic_msg
(
const
char
*
s
,
const
char
*
t
,
const
char
*
n
,
va_list
ap
)
{
fprintf
(
stderr
,
"%s:%d: %s: "
,
input_name
?
input_name
:
"stdin"
,
line_number
,
t
);
vfprintf
(
stderr
,
s
,
ap
);
#ifdef WANT_NEAR_INDICATION
if
(
want_near_indication
)
{
char
*
cpy
;
if
(
n
)
...
...
@@ -63,7 +62,7 @@ static void generic_msg(const char *s, const char *t, const char *n, va_list ap)
free
(
cpy
);
}
}
#endif
fprintf
(
stderr
,
"
\n
"
);
}
...
...
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