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
17e93466
Commit
17e93466
authored
Oct 28, 2007
by
Paul Millar
Committed by
Alexandre Julliard
Oct 29, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Add support for overriding recorded time, allowing binary-identical compilation.
parent
9fce052c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
write_msft.c
tools/widl/write_msft.c
+3
-1
No files found.
tools/widl/write_msft.c
View file @
17e93466
...
...
@@ -2473,6 +2473,7 @@ int create_msft_typelib(typelib_t *typelib)
int
failed
=
0
;
typelib_entry_t
*
entry
;
time_t
cur_time
;
char
*
time_override
;
unsigned
int
version
=
5
<<
24
|
1
<<
16
|
164
;
/* 5.01.0164 */
GUID
midl_time_guid
=
{
0xde77ba63
,
0x517c
,
0x11d1
,{
0xa2
,
0xda
,
0x00
,
0x00
,
0xf8
,
0x77
,
0x3c
,
0xe9
}};
GUID
midl_version_guid
=
{
0xde77ba64
,
0x517c
,
0x11d1
,{
0xa2
,
0xda
,
0x00
,
0x00
,
0xf8
,
0x77
,
0x3c
,
0xe9
}};
...
...
@@ -2518,7 +2519,8 @@ int create_msft_typelib(typelib_t *typelib)
/* midl adds two sets of custom data to the library: the current unix time
and midl's version number */
cur_time
=
time
(
NULL
);
time_override
=
getenv
(
"WIDL_TIME_OVERRIDE"
);
cur_time
=
time_override
?
atol
(
time_override
)
:
time
(
NULL
);
set_custdata
(
msft
,
&
midl_time_guid
,
VT_UI4
,
&
cur_time
,
&
msft
->
typelib_header
.
CustomDataOffset
);
set_custdata
(
msft
,
&
midl_version_guid
,
VT_UI4
,
&
version
,
&
msft
->
typelib_header
.
CustomDataOffset
);
...
...
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