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
87f7818f
Commit
87f7818f
authored
Apr 26, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makefiles: Don't allow using system headers with msvcrt.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ba2ca27d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
makedep.c
tools/makedep.c
+9
-0
No files found.
tools/makedep.c
View file @
87f7818f
...
...
@@ -1526,6 +1526,15 @@ static struct file *open_include_file( const struct makefile *make, struct incl_
return
file
;
}
}
if
(
pFile
->
type
==
INCL_SYSTEM
&&
make
->
use_msvcrt
)
{
if
(
!
strcmp
(
pFile
->
name
,
"stdarg.h"
))
return
NULL
;
fprintf
(
stderr
,
"%s:%d: error: system header %s cannot be used with msvcrt
\n
"
,
pFile
->
included_by
->
file
->
name
,
pFile
->
included_line
,
pFile
->
name
);
exit
(
1
);
}
if
(
pFile
->
type
==
INCL_SYSTEM
)
return
NULL
;
/* ignore system files we cannot find */
/* try in src file directory */
...
...
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