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
0d537c85
Commit
0d537c85
authored
Feb 12, 2020
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 13, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makedep: Use msvcrt headers for objects inside importlibs.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ba07e25c
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
21 additions
and
6 deletions
+21
-6
crt_main.c
dlls/msvcrt/crt_main.c
+1
-1
crt_wmain.c
dlls/msvcrt/crt_wmain.c
+1
-1
iob.c
dlls/msvcrt/iob.c
+3
-3
mathf.c
dlls/msvcrt/mathf.c
+13
-1
onexit.c
dlls/msvcrt/onexit.c
+1
-0
printf.c
dlls/ucrtbase/printf.c
+1
-0
makedep.c
tools/makedep.c
+1
-0
No files found.
dlls/msvcrt/crt_main.c
View file @
0d537c85
...
...
@@ -24,7 +24,7 @@
#ifdef __MINGW32__
#include
"msvcrt.h"
#include
<stdarg.h>
#include "windef.h"
#include "winbase.h"
...
...
dlls/msvcrt/crt_wmain.c
View file @
0d537c85
...
...
@@ -24,7 +24,7 @@
#ifdef __MINGW32__
#include
"msvcrt.h"
#include
<stdarg.h>
#include "windef.h"
#include "winbase.h"
...
...
dlls/msvcrt/iob.c
View file @
0d537c85
...
...
@@ -23,15 +23,15 @@
#pragma makedep implib
#endif
#include
"msvcrt.h"
#include
<stdio.h>
#undef __iob_func
extern
MSVCRT_FILE
*
CDECL
__iob_func
(
void
);
extern
FILE
*
__cdecl
__iob_func
(
void
);
/*********************************************************************
* __acrt_iob_func(UCRTBASE.@)
*/
MSVCRT_FILE
*
CDECL
__acrt_iob_func
(
unsigned
idx
)
FILE
*
__cdecl
__acrt_iob_func
(
unsigned
idx
)
{
return
__iob_func
()
+
idx
;
}
...
...
dlls/msvcrt/mathf.c
View file @
0d537c85
...
...
@@ -23,7 +23,19 @@
#pragma makedep implib
#endif
#include <math.h>
#include <corecrt.h>
double
__cdecl
sin
(
double
);
double
__cdecl
cos
(
double
);
double
__cdecl
tan
(
double
);
double
__cdecl
atan2
(
double
,
double
);
double
__cdecl
exp
(
double
);
double
__cdecl
log
(
double
);
double
__cdecl
pow
(
double
,
double
);
double
__cdecl
sqrt
(
double
);
double
__cdecl
floor
(
double
);
double
__cdecl
ceil
(
double
);
float
__cdecl
powf
(
float
,
float
);
#if defined(__i386__) || (_MSVCR_VER > 0 && _MSVCR_VER < 80)
float
sinf
(
float
x
)
{
return
sin
(
x
);
}
...
...
dlls/msvcrt/onexit.c
View file @
0d537c85
...
...
@@ -23,6 +23,7 @@
#pragma makedep implib
#endif
#define _CRTIMP
#include "msvcrt.h"
#include "mtdll.h"
...
...
dlls/ucrtbase/printf.c
View file @
0d537c85
...
...
@@ -21,6 +21,7 @@
#pragma makedep implib
#endif
#define _CRTIMP
#include <stdarg.h>
#include "msvcrt.h"
...
...
tools/makedep.c
View file @
0d537c85
...
...
@@ -1628,6 +1628,7 @@ static void parse_file( struct makefile *make, struct incl_file *source, int src
source
->
files_size
=
file
->
deps_count
;
source
->
files
=
xmalloc
(
source
->
files_size
*
sizeof
(
*
source
->
files
)
);
if
(
file
->
flags
&
FLAG_C_UNIX
)
source
->
use_msvcrt
=
0
;
else
if
(
file
->
flags
&
FLAG_C_IMPLIB
)
source
->
use_msvcrt
=
1
;
if
(
source
->
sourcename
)
{
...
...
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