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
6c04a187
Commit
6c04a187
authored
Dec 17, 2006
by
Louis Lenders
Committed by
Alexandre Julliard
Dec 19, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Add _atoldbl.
parent
dc9f3843
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
27 additions
and
1 deletion
+27
-1
configure
configure
+2
-0
configure.ac
configure.ac
+1
-0
msvcrt.h
dlls/msvcrt/msvcrt.h
+2
-0
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+1
-1
string.c
dlls/msvcrt/string.c
+18
-0
config.h.in
include/config.h.in
+3
-0
No files found.
configure
View file @
6c04a187
...
@@ -15845,6 +15845,7 @@ fi
...
@@ -15845,6 +15845,7 @@ fi
for
ac_func
in
\
for
ac_func
in
\
_pclose
\
_pclose
\
_popen
\
_popen
\
...
@@ -15910,6 +15911,7 @@ for ac_func in \
...
@@ -15910,6 +15911,7 @@ for ac_func in \
strcasecmp
\
strcasecmp
\
strerror
\
strerror
\
strncasecmp
\
strncasecmp
\
strtold
\
tcgetattr
\
tcgetattr
\
timegm
\
timegm
\
usleep
\
usleep
\
...
...
configure.ac
View file @
6c04a187
...
@@ -1228,6 +1228,7 @@ AC_CHECK_FUNCS(\
...
@@ -1228,6 +1228,7 @@ AC_CHECK_FUNCS(\
strcasecmp \
strcasecmp \
strerror \
strerror \
strncasecmp \
strncasecmp \
strtold \
tcgetattr \
tcgetattr \
timegm \
timegm \
usleep \
usleep \
...
...
dlls/msvcrt/msvcrt.h
View file @
6c04a187
...
@@ -70,6 +70,8 @@ typedef void (*MSVCRT__beginthread_start_routine_t)(void *);
...
@@ -70,6 +70,8 @@ typedef void (*MSVCRT__beginthread_start_routine_t)(void *);
typedef
unsigned
int
(
__stdcall
*
MSVCRT__beginthreadex_start_routine_t
)(
void
*
);
typedef
unsigned
int
(
__stdcall
*
MSVCRT__beginthreadex_start_routine_t
)(
void
*
);
typedef
int
(
*
MSVCRT__onexit_t
)(
void
);
typedef
int
(
*
MSVCRT__onexit_t
)(
void
);
typedef
struct
{
long
double
x
;}
_LDOUBLE
;
struct
MSVCRT_tm
{
struct
MSVCRT_tm
{
int
tm_sec
;
int
tm_sec
;
int
tm_min
;
int
tm_min
;
...
...
dlls/msvcrt/msvcrt.spec
View file @
6c04a187
...
@@ -166,7 +166,7 @@
...
@@ -166,7 +166,7 @@
@ cdecl _assert(str str long) MSVCRT__assert
@ cdecl _assert(str str long) MSVCRT__assert
@ stub _atodbl #(ptr str)
@ stub _atodbl #(ptr str)
@ cdecl -ret64 _atoi64(str) ntdll._atoi64
@ cdecl -ret64 _atoi64(str) ntdll._atoi64
@
stub _atoldbl #(ptr str)
@
cdecl _atoldbl(ptr str) MSVCRT__atoldbl
@ cdecl _beep(long long)
@ cdecl _beep(long long)
@ cdecl _beginthread (ptr long ptr)
@ cdecl _beginthread (ptr long ptr)
@ cdecl _beginthreadex (ptr long ptr ptr long ptr)
@ cdecl _beginthreadex (ptr long ptr ptr long ptr)
...
...
dlls/msvcrt/string.c
View file @
6c04a187
...
@@ -21,6 +21,9 @@
...
@@ -21,6 +21,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
*/
#define _ISOC99_SOURCE
#include "config.h"
#include <stdlib.h>
#include <stdlib.h>
#include "msvcrt.h"
#include "msvcrt.h"
#include "wine/debug.h"
#include "wine/debug.h"
...
@@ -184,3 +187,18 @@ int CDECL MSVCRT__stricoll( const char* str1, const char* str2 )
...
@@ -184,3 +187,18 @@ int CDECL MSVCRT__stricoll( const char* str1, const char* str2 )
TRACE
(
"str1 %s str2 %s
\n
"
,
debugstr_a
(
str1
),
debugstr_a
(
str2
));
TRACE
(
"str1 %s str2 %s
\n
"
,
debugstr_a
(
str1
),
debugstr_a
(
str2
));
return
lstrcmpiA
(
str1
,
str2
);
return
lstrcmpiA
(
str1
,
str2
);
}
}
/********************************************************************
* _atoldbl (MSVCRT.@)
*/
int
CDECL
MSVCRT__atoldbl
(
_LDOUBLE
*
value
,
char
*
str
)
{
/* FIXME needs error checking for huge/small values */
#ifdef HAVE_STRTOLD
TRACE
(
"str %s value %p
\n
"
,
str
,
value
);
value
->
x
=
strtold
(
str
,
0
);
#else
FIXME
(
"stub, str %s value %p
\n
"
,
str
,
value
);
#endif
return
0
;
}
include/config.h.in
View file @
6c04a187
...
@@ -666,6 +666,9 @@
...
@@ -666,6 +666,9 @@
/* Define to 1 if you have the `strncasecmp' function. */
/* Define to 1 if you have the `strncasecmp' function. */
#undef HAVE_STRNCASECMP
#undef HAVE_STRNCASECMP
/* Define to 1 if you have the `strtold' function. */
#undef HAVE_STRTOLD
/* Define to 1 if `direction' is member of `struct ff_effect'. */
/* Define to 1 if `direction' is member of `struct ff_effect'. */
#undef HAVE_STRUCT_FF_EFFECT_DIRECTION
#undef HAVE_STRUCT_FF_EFFECT_DIRECTION
...
...
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