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
b1752281
Commit
b1752281
authored
Feb 20, 1999
by
Bertho Stultiens
Committed by
Alexandre Julliard
Feb 20, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a couple of 64bit platform problems and speed up compilation. See
tools/wrc/CHANGES for details.
parent
9a73d867
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
32 additions
and
11 deletions
+32
-11
CHANGES
tools/wrc/CHANGES
+18
-0
genres.c
tools/wrc/genres.c
+1
-0
newstruc.c
tools/wrc/newstruc.c
+1
-0
parser.y
tools/wrc/parser.y
+1
-0
wrc.h
tools/wrc/wrc.h
+2
-2
wrctypes.h
tools/wrc/wrctypes.h
+3
-3
writeres.c
tools/wrc/writeres.c
+6
-6
No files found.
tools/wrc/CHANGES
View file @
b1752281
---------------------------------------------------------------------------
Version 1.0.10 (18-Feb-1999)
Alexandre Julliard <julliard@lrc.epfl.ch>
- Fixed the TIME_LONG ugliness.
David Luyer <luyer@ucs.uwa.edu.au>
- Added string.h include in newstruc.c for compilation on 64bit platforms.
- Added TIME_LONG to support time_t==int in printf formats on alpha
platforms.
Bertho Stultiens <bertho@akhphd.au.dk>
- Added some more use of TIME_LONG in implicit format used in header-file
generation.
- Removed the windows.h include and replaced it with wintypes.h in
wrctypes.h and added winuser.h in two other sources. This cuts compilation
time by a factor of 2 and final executable size with debug by a factor 2.5.
---------------------------------------------------------------------------
Version 1.0.9 (01-Feb-1999)
Albert den Haan <albertd@corel.ca>:
...
...
tools/wrc/genres.c
View file @
b1752281
...
...
@@ -17,6 +17,7 @@
#include "wrc.h"
#include "genres.h"
#include "utils.h"
#include "winuser.h"
#define SetResSize(res, tag) *(DWORD *)&((res)->data[(tag)]) = \
(res)->size - *(DWORD *)&((res)->data[(tag)])
...
...
tools/wrc/newstruc.c
View file @
b1752281
...
...
@@ -10,6 +10,7 @@
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <string.h>
#include <config.h>
#include "wrc.h"
...
...
tools/wrc/parser.y
View file @
b1752281
...
...
@@ -99,6 +99,7 @@
#include "dumpres.h"
#include "preproc.h"
#include "parser.h"
#include "winuser.h"
#ifdef __BORLANDC__
#pragma warn -sig
...
...
tools/wrc/wrc.h
View file @
b1752281
...
...
@@ -12,8 +12,8 @@
#include "wrctypes.h"
#endif
#define WRC_VERSION "1.0.
9
"
#define WRC_RELEASEDATE "(
01
-Feb-1999)"
#define WRC_VERSION "1.0.
10
"
#define WRC_RELEASEDATE "(
18
-Feb-1999)"
#define WRC_FULLVERSION WRC_VERSION " " WRC_RELEASEDATE
/* Only used in heavy debugging sessions */
...
...
tools/wrc/wrctypes.h
View file @
b1752281
...
...
@@ -9,8 +9,8 @@
#define __WRC_WRCTYPES_H
/* First is MS style, second wine style */
#if
!defined(_INC_WINDOWS) && !defined(__WINE_WINDOWS_H)
#include "win
dow
s.h"
#if
ndef __WINE_WINTYPES_H
#include "win
type
s.h"
#endif
#ifndef MAKELANGID
...
...
@@ -152,7 +152,7 @@ enum res_e {
res_menex
=
256
+
4
,
res_dlgex
,
res_usr
,
res_usr
};
/* Raw bytes in a row... */
...
...
tools/wrc/writeres.c
View file @
b1752281
...
...
@@ -64,8 +64,8 @@ char h_file_head_str[] =
" * Cmdline: %s
\n
"
" * Date : %s"
" */
\n\n
"
"#ifndef __%08
x_H
\n
"
/* This becomes the data
of compile */
"#define __%08x_H
\n\n
"
"#ifndef __%08
lx_H
\n
"
/* This becomes the date
of compile */
"#define __%08
l
x_H
\n\n
"
"#ifndef __WRC_RSC_H
\n
"
"#include <wrc_rsc.h>
\n
"
"#endif
\n\n
"
...
...
@@ -579,7 +579,7 @@ void write_pe_segment(FILE *fp, resource_t *top)
/* Flags */
fprintf
(
fp
,
"
\t
.long
\t
0
\n
"
);
/* Time/Date stamp */
fprintf
(
fp
,
"
\t
.long
\t
0x%08lx
\n
"
,
now
);
fprintf
(
fp
,
"
\t
.long
\t
0x%08lx
\n
"
,
(
long
)
now
);
/* Version */
fprintf
(
fp
,
"
\t
.long
\t
0
\n
"
);
/* FIXME: must version be filled out? */
/* # of id entries, # of name entries */
...
...
@@ -628,7 +628,7 @@ void write_pe_segment(FILE *fp, resource_t *top)
fprintf
(
fp
,
".L%s:
\n
"
,
typelabel
);
fprintf
(
fp
,
"
\t
.long
\t
0
\n
"
);
/* Flags */
fprintf
(
fp
,
"
\t
.long
\t
0x%08lx
\n
"
,
now
);
/* TimeDate */
fprintf
(
fp
,
"
\t
.long
\t
0x%08lx
\n
"
,
(
long
)
now
);
/* TimeDate */
fprintf
(
fp
,
"
\t
.long
\t
0
\n
"
);
/* FIXME: must version be filled out? */
fprintf
(
fp
,
"
\t
.short
\t
%d, %d
\n
"
,
rcp
->
n_name_entries
,
rcp
->
n_id_entries
);
for
(
j
=
0
;
j
<
rcp
->
count32
;
j
++
)
...
...
@@ -681,7 +681,7 @@ void write_pe_segment(FILE *fp, resource_t *top)
fprintf
(
fp
,
".L%s_%s:
\n
"
,
typelabel
,
namelabel
);
fprintf
(
fp
,
"
\t
.long
\t
0
\n
"
);
/* Flags */
fprintf
(
fp
,
"
\t
.long
\t
0x%08lx
\n
"
,
now
);
/* TimeDate */
fprintf
(
fp
,
"
\t
.long
\t
0x%08lx
\n
"
,
(
long
)
now
);
/* TimeDate */
fprintf
(
fp
,
"
\t
.long
\t
0
\n
"
);
/* FIXME: must version be filled out? */
fprintf
(
fp
,
"
\t
.short
\t
0, %d
\n
"
,
r32cp
->
count
);
...
...
@@ -1116,7 +1116,7 @@ void write_h_file(char *outname, resource_t *top)
time
(
&
now
);
fprintf
(
fo
,
h_file_head_str
,
input_name
?
input_name
:
"stdin"
,
cmdline
,
ctime
(
&
now
),
now
,
now
);
cmdline
,
ctime
(
&
now
),
(
long
)
now
,
(
long
)
now
);
/* First write the segment tables reference */
if
(
create_dir
)
...
...
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