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
dd3e2be8
Commit
dd3e2be8
authored
Aug 30, 2007
by
Francois Gouget
Committed by
Alexandre Julliard
Aug 30, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Add a prototype for _atoldbl() & co and declare _LDOUBLE & co in stdlib.h.
parent
4067c194
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
2 deletions
+21
-2
msvcrt.h
dlls/msvcrt/msvcrt.h
+1
-1
string.c
dlls/msvcrt/string.c
+1
-1
stdlib.h
include/msvcrt/stdlib.h
+19
-0
No files found.
dlls/msvcrt/msvcrt.h
View file @
dd3e2be8
...
...
@@ -71,7 +71,7 @@ typedef void (*MSVCRT__beginthread_start_routine_t)(void *);
typedef
unsigned
int
(
__stdcall
*
MSVCRT__beginthreadex_start_routine_t
)(
void
*
);
typedef
int
(
*
MSVCRT__onexit_t
)(
void
);
typedef
struct
{
long
double
x
;}
_LDOUBLE
;
typedef
struct
{
long
double
x
;}
MSVCRT_
_LDOUBLE
;
struct
MSVCRT_tm
{
int
tm_sec
;
...
...
dlls/msvcrt/string.c
View file @
dd3e2be8
...
...
@@ -174,7 +174,7 @@ int CDECL MSVCRT__stricoll( const char* str1, const char* str2 )
/********************************************************************
* _atoldbl (MSVCRT.@)
*/
int
CDECL
MSVCRT__atoldbl
(
_LDOUBLE
*
value
,
char
*
str
)
int
CDECL
MSVCRT__atoldbl
(
MSVCRT_
_LDOUBLE
*
value
,
char
*
str
)
{
/* FIXME needs error checking for huge/small values */
#ifdef HAVE_STRTOLD
...
...
include/msvcrt/stdlib.h
View file @
dd3e2be8
...
...
@@ -28,6 +28,22 @@ typedef unsigned short wchar_t;
#endif
#endif
typedef
struct
{
float
f
;
}
_CRT_FLOAT
;
typedef
struct
{
double
x
;
}
_CRT_DOUBLE
;
typedef
struct
{
unsigned
char
ld
[
10
];
}
_LDOUBLE
;
#if defined(__x86_64__) && !defined(_WIN64)
#define _WIN64
#endif
...
...
@@ -128,8 +144,11 @@ extern int* _errno(void);
typedef
int
(
*
_onexit_t
)(
void
);
int
_atodbl
(
_CRT_DOUBLE
*
,
char
*
);
int
_atoflt
(
_CRT_FLOAT
*
,
char
*
);
__int64
_atoi64
(
const
char
*
);
long
double
_atold
(
const
char
*
);
int
_atoldbl
(
_LDOUBLE
*
,
char
*
);
void
_beep
(
unsigned
int
,
unsigned
int
);
char
*
_ecvt
(
double
,
int
,
int
*
,
int
*
);
char
*
_fcvt
(
double
,
int
,
int
*
,
int
*
);
...
...
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