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
1017bcc4
Commit
1017bcc4
authored
Jan 18, 2006
by
Hans Leidekker
Committed by
Alexandre Julliard
Jan 18, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedump: Fix compilation of generated source.
Include config.h in the .c file, not in the .h file.
parent
4202824e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
output.c
tools/winedump/output.c
+4
-3
No files found.
tools/winedump/output.c
View file @
1017bcc4
...
...
@@ -145,8 +145,8 @@ void output_header_preamble (void)
fprintf
(
hfile
,
"/*
\n
* %s.dll
\n
*
\n
* Generated from %s.dll by winedump.
\n
*
\n
"
" * DO NOT SEND GENERATED DLLS FOR INCLUSION INTO WINE !
\n
*
\n
*/"
"
\n
#ifndef __WINE_%s_DLL_H
\n
#define __WINE_%s_DLL_H
\n\n
#include
"
"
\"
config.h
\"\n
#include
\"
windef.h
\"\n
#include
\"
wine/debug.h
\"\n
"
"
\n
#ifndef __WINE_%s_DLL_H
\n
#define __WINE_%s_DLL_H
\n\n
"
"#include
\"
windef.h
\"\n
#include
\"
wine/debug.h
\"\n
"
"#include
\"
winbase.h
\"\n
#include
\"
winnt.h
\"\n\n\n
"
,
OUTPUT_DLL_NAME
,
OUTPUT_DLL_NAME
,
OUTPUT_UC_DLL_NAME
,
OUTPUT_UC_DLL_NAME
);
...
...
@@ -211,7 +211,8 @@ void output_c_preamble (void)
fprintf
(
cfile
,
"/*
\n
* %s.dll
\n
*
\n
* Generated from %s by winedump.
\n
*
\n
"
" * DO NOT SUBMIT GENERATED DLLS FOR INCLUSION INTO WINE!
\n
*
\n
*/"
"
\n\n
#include
\"
%s_dll.h
\"\n\n
WINE_DEFAULT_DEBUG_CHANNEL(%s);
\n\n
"
,
"
\n\n
#include
\"
config.h
\"\n
#include
\"
%s_dll.h
\"\n\n
"
"WINE_DEFAULT_DEBUG_CHANNEL(%s);
\n\n
"
,
OUTPUT_DLL_NAME
,
globals
.
input_name
,
OUTPUT_DLL_NAME
,
OUTPUT_DLL_NAME
);
...
...
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