Commit d6deb6db authored by Jon Griffiths's avatar Jon Griffiths Committed by Alexandre Julliard

- configure tests for finite()/fpclass(), fixes BSD compile

- winapi_check updates, fix errno in more math calls
parent fc2c5dfb
...@@ -710,6 +710,8 @@ AC_CHECK_FUNCS(\ ...@@ -710,6 +710,8 @@ AC_CHECK_FUNCS(\
__libc_fork \ __libc_fork \
_lwp_create \ _lwp_create \
clone \ clone \
finite \
fpclass \
getnetbyaddr \ getnetbyaddr \
getnetbyname \ getnetbyname \
getpagesize \ getpagesize \
......
...@@ -344,6 +344,7 @@ INT __cdecl CRTDLL__isatty(INT fd); ...@@ -344,6 +344,7 @@ INT __cdecl CRTDLL__isatty(INT fd);
VOID __cdecl CRTDLL__beep( UINT freq, UINT duration ); VOID __cdecl CRTDLL__beep( UINT freq, UINT duration );
INT __cdecl CRTDLL_rand( VOID ); INT __cdecl CRTDLL_rand( VOID );
UINT __cdecl CRTDLL__rotl( UINT x,INT shift ); UINT __cdecl CRTDLL__rotl( UINT x,INT shift );
double __cdecl CRTDLL__logb( double x );
DWORD __cdecl CRTDLL__lrotl( DWORD x,INT shift ); DWORD __cdecl CRTDLL__lrotl( DWORD x,INT shift );
DWORD __cdecl CRTDLL__lrotr( DWORD x,INT shift ); DWORD __cdecl CRTDLL__lrotr( DWORD x,INT shift );
DWORD __cdecl CRTDLL__rotr( UINT x,INT shift ); DWORD __cdecl CRTDLL__rotr( UINT x,INT shift );
...@@ -412,6 +413,9 @@ INT __cdecl CRTDLL__isnan( double d ); ...@@ -412,6 +413,9 @@ INT __cdecl CRTDLL__isnan( double d );
LPVOID __cdecl CRTDLL__lsearch( LPVOID match, LPVOID start, LPUINT array_size, LPVOID __cdecl CRTDLL__lsearch( LPVOID match, LPVOID start, LPUINT array_size,
UINT elem_size, comp_func cf ); UINT elem_size, comp_func cf );
VOID __cdecl CRTDLL__purecall( VOID ); VOID __cdecl CRTDLL__purecall( VOID );
double __cdecl CRTDLL__y0( double x );
double __cdecl CRTDLL__y1( double x );
double __cdecl CRTDLL__yn( INT x, double y );
/* CRTDLL_mem.c */ /* CRTDLL_mem.c */
LPVOID __cdecl CRTDLL_new( DWORD size ); LPVOID __cdecl CRTDLL_new( DWORD size );
......
...@@ -182,7 +182,7 @@ debug_channels (crtdll) ...@@ -182,7 +182,7 @@ debug_channels (crtdll)
@ cdecl _loaddll(str) CRTDLL__loaddll @ cdecl _loaddll(str) CRTDLL__loaddll
@ cdecl _local_unwind2(ptr long) CRTDLL__local_unwind2 @ cdecl _local_unwind2(ptr long) CRTDLL__local_unwind2
@ stub _locking @ stub _locking
@ cdecl _logb(double) logb @ cdecl _logb(double) CRTDLL__logb
@ cdecl _lrotl (long long) CRTDLL__lrotl @ cdecl _lrotl (long long) CRTDLL__lrotl
@ cdecl _lrotr (long long) CRTDLL__lrotr @ cdecl _lrotr (long long) CRTDLL__lrotr
@ cdecl _lsearch(ptr ptr long long ptr) CRTDLL__lsearch @ cdecl _lsearch(ptr ptr long long ptr) CRTDLL__lsearch
...@@ -342,9 +342,9 @@ debug_channels (crtdll) ...@@ -342,9 +342,9 @@ debug_channels (crtdll)
@ cdecl _write(long ptr long) CRTDLL__write @ cdecl _write(long ptr long) CRTDLL__write
@ stub _wtoi @ stub _wtoi
@ stub _wtol @ stub _wtol
@ cdecl _y0(double) y0 @ cdecl _y0(double) CRTDLL__y0
@ cdecl _y1(double) y1 @ cdecl _y1(double) CRTDLL__y1
@ cdecl _yn(long double) yn @ cdecl _yn(long double) CRTDLL__yn
@ cdecl abort() CRTDLL_abort @ cdecl abort() CRTDLL_abort
@ cdecl abs(long) abs @ cdecl abs(long) abs
@ cdecl acos(double) acos @ cdecl acos(double) acos
......
...@@ -173,6 +173,12 @@ ...@@ -173,6 +173,12 @@
/* Define if you have the dlopen function. */ /* Define if you have the dlopen function. */
#undef HAVE_DLOPEN #undef HAVE_DLOPEN
/* Define if you have the finite function. */
#undef HAVE_FINITE
/* Define if you have the fpclass function. */
#undef HAVE_FPCLASS
/* Define if you have the gethostbyname function. */ /* Define if you have the gethostbyname function. */
#undef HAVE_GETHOSTBYNAME #undef HAVE_GETHOSTBYNAME
......
...@@ -13,6 +13,7 @@ LONG ...@@ -13,6 +13,7 @@ LONG
ULONG ULONG
UINT UINT
WCHAR WCHAR
UCHAR
clock_t clock_t
size_t size_t
time_t time_t
...@@ -23,6 +24,11 @@ int ...@@ -23,6 +24,11 @@ int
unsigned int unsigned int
unsigned long unsigned long
%longlong
LONGLONG
ULONGLONG
%ptr %ptr
CHAR * CHAR *
...@@ -50,6 +56,7 @@ struct _timeb * ...@@ -50,6 +56,7 @@ struct _timeb *
time_t * time_t *
struct _heapinfo * struct _heapinfo *
struct _utimbuf * struct _utimbuf *
struct _exception *
fpos_t * fpos_t *
diskfree_t * diskfree_t *
unsigned char * unsigned char *
...@@ -78,4 +85,6 @@ sig_handler_type ...@@ -78,4 +85,6 @@ sig_handler_type
comp_func comp_func
struct complex struct complex
atexit_function atexit_function
div_t
ldiv_t
%double
double
%long %long
ACCESS_MASK ACCESS_MASK
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment