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
5ac2a538
Commit
5ac2a538
authored
Dec 13, 2002
by
Brad Campbell
Committed by
Alexandre Julliard
Dec 13, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added additional test for gcvt as uClibc appears to have this and not
ecvt.
parent
bbb7dc0f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
6 deletions
+17
-6
configure
configure
+4
-0
configure.ac
configure.ac
+2
-0
config.h.in
include/config.h.in
+6
-0
port.c
library/port.c
+5
-6
No files found.
configure
View file @
5ac2a538
...
@@ -11647,6 +11647,8 @@ fi
...
@@ -11647,6 +11647,8 @@ fi
for
ac_func
in
\
for
ac_func
in
\
_lwp_create
\
_lwp_create
\
_pclose
\
_pclose
\
...
@@ -11657,10 +11659,12 @@ for ac_func in \
...
@@ -11657,10 +11659,12 @@ for ac_func in \
chsize
\
chsize
\
clone
\
clone
\
ecvt
\
ecvt
\
fcvt
\
finite
\
finite
\
fpclass
\
fpclass
\
ftruncate
\
ftruncate
\
ftruncate64
\
ftruncate64
\
gcvt
\
getnetbyaddr
\
getnetbyaddr
\
getnetbyname
\
getnetbyname
\
getopt_long
\
getopt_long
\
...
...
configure.ac
View file @
5ac2a538
...
@@ -916,10 +916,12 @@ AC_CHECK_FUNCS(\
...
@@ -916,10 +916,12 @@ AC_CHECK_FUNCS(\
chsize \
chsize \
clone \
clone \
ecvt \
ecvt \
fcvt \
finite \
finite \
fpclass \
fpclass \
ftruncate \
ftruncate \
ftruncate64 \
ftruncate64 \
gcvt \
getnetbyaddr \
getnetbyaddr \
getnetbyname \
getnetbyname \
getopt_long \
getopt_long \
...
...
include/config.h.in
View file @
5ac2a538
...
@@ -77,6 +77,9 @@
...
@@ -77,6 +77,9 @@
/* Define to 1 if you have the <elf.h> header file. */
/* Define to 1 if you have the <elf.h> header file. */
#undef HAVE_ELF_H
#undef HAVE_ELF_H
/* Define to 1 if you have the `fcvt' function. */
#undef HAVE_FCVT
/* Define to 1 if you have the `finite' function. */
/* Define to 1 if you have the `finite' function. */
#undef HAVE_FINITE
#undef HAVE_FINITE
...
@@ -122,6 +125,9 @@
...
@@ -122,6 +125,9 @@
/* Define to 1 if you have the `ftruncate64' function. */
/* Define to 1 if you have the `ftruncate64' function. */
#undef HAVE_FTRUNCATE64
#undef HAVE_FTRUNCATE64
/* Define to 1 if you have the `gcvt' function. */
#undef HAVE_GCVT
/* Define to 1 if you have the `getbkgd' function. */
/* Define to 1 if you have the `getbkgd' function. */
#undef HAVE_GETBKGD
#undef HAVE_GETBKGD
...
...
library/port.c
View file @
5ac2a538
...
@@ -620,11 +620,6 @@ unsigned short* wine_rewrite_s4tos2(const wchar_t* str4 )
...
@@ -620,11 +620,6 @@ unsigned short* wine_rewrite_s4tos2(const wchar_t* str4 )
}
}
#ifndef HAVE_ECVT
#ifndef HAVE_ECVT
/*
* NetBSD 1.5 doesn't have ecvt, fcvt, gcvt. We just check for ecvt, though.
* Fix/verify these implementations !
*/
/***********************************************************************
/***********************************************************************
* ecvt
* ecvt
*/
*/
...
@@ -638,7 +633,9 @@ char *ecvt (double number, int ndigits, int *decpt, int *sign)
...
@@ -638,7 +633,9 @@ char *ecvt (double number, int ndigits, int *decpt, int *sign)
*
decpt
=
(
dec
)
?
(
int
)
dec
-
(
int
)
buf
:
-
1
;
*
decpt
=
(
dec
)
?
(
int
)
dec
-
(
int
)
buf
:
-
1
;
return
buf
;
return
buf
;
}
}
#endif
/* HAVE_ECVT */
#ifndef HAVE_FCVT
/***********************************************************************
/***********************************************************************
* fcvt
* fcvt
*/
*/
...
@@ -652,7 +649,9 @@ char *fcvt (double number, int ndigits, int *decpt, int *sign)
...
@@ -652,7 +649,9 @@ char *fcvt (double number, int ndigits, int *decpt, int *sign)
*
decpt
=
(
dec
)
?
(
int
)
dec
-
(
int
)
buf
:
-
1
;
*
decpt
=
(
dec
)
?
(
int
)
dec
-
(
int
)
buf
:
-
1
;
return
buf
;
return
buf
;
}
}
#endif
/* HAVE_FCVT */
#ifndef HAVE_GCVT
/***********************************************************************
/***********************************************************************
* gcvt
* gcvt
*
*
...
@@ -663,7 +662,7 @@ char *gcvt (double number, size_t ndigit, char *buff)
...
@@ -663,7 +662,7 @@ char *gcvt (double number, size_t ndigit, char *buff)
sprintf
(
buff
,
"%.*E"
,
(
int
)
ndigit
,
number
);
sprintf
(
buff
,
"%.*E"
,
(
int
)
ndigit
,
number
);
return
buff
;
return
buff
;
}
}
#endif
/* HAVE_
E
CVT */
#endif
/* HAVE_
G
CVT */
#ifndef wine_memcpy_unaligned
#ifndef wine_memcpy_unaligned
...
...
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