Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
47b1bffd
Commit
47b1bffd
authored
Apr 02, 2009
by
André Hentschel
Committed by
Alexandre Julliard
Apr 03, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winemaker: winresrc.h is the right name.
parent
de66f257
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
winemaker
tools/winemaker
+5
-5
No files found.
tools/winemaker
View file @
47b1bffd
...
...
@@ -1301,17 +1301,17 @@ sub fix_file($$$)
if
(
$is_rc
and
!
$is_mfc
and
/^(\s*)(\#\s*include\s*)\"afxres\.h\"/
)
{
# VC6 automatically includes 'afxres.h', an MFC specific header, in
# the RC files it generates (even in non-MFC projects). So we replace
# it with 'winres.h' its very close standard cousin so that non MFC
# it with 'winres
rc
.h' its very close standard cousin so that non MFC
# projects can compile in Wine without the MFC sources.
my
$warning
=
"mfc:afxres.h"
;
if
(
!
defined
$warnings
{
$warning
})
{
$warnings
{
$warning
}
=
"1"
;
print
STDERR
"warning: In non-MFC projects, winemaker replaces the MFC specific header 'afxres.h' with 'winres.h'\n"
;
print
STDERR
"warning: In non-MFC projects, winemaker replaces the MFC specific header 'afxres.h' with 'winres
rc
.h'\n"
;
print
STDERR
"warning: the above warning is issued only once\n"
;
}
print
FILEO
"$1/* winemaker: $2\"afxres.h\" */\n"
;
print
FILEO
"$1/* winemaker:warning: 'afxres.h' is an MFC specific header. Replacing it with 'winres.h' */\n"
;
print
FILEO
"$1$2\"winres.h\"$'"
;
print
FILEO
"$1/* winemaker:warning: 'afxres.h' is an MFC specific header. Replacing it with 'winres
rc
.h' */\n"
;
print
FILEO
"$1$2\"winres
rc
.h\"$'"
;
$modified
=
1
;
}
elsif
(
/^(\s*\#\s*include\s*)([\"<])([^\"]+)([\">])/
)
{
...
...
@@ -1473,7 +1473,7 @@ sub fix_file($$$)
print
FILEO
;
}
elsif
(
$rc_textinclude_state
==
3
and
/^(\s*\"\#\s*include\s*\"\")afxres\.h(\"\"\\r\\n\")/
)
{
print
FILEO
"$1winres.h$2$'"
;
print
FILEO
"$1winres
rc
.h$2$'"
;
$modified
=
1
;
}
elsif
(
/^\s*BEGIN(\W.*)?$/
)
{
...
...
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