diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2003-02-10 21:13:34 +0000 |
---|---|---|
committer | Danny Smith <dannysmith@users.sourceforge.net> | 2003-02-10 21:13:34 +0000 |
commit | 14e54d7c97e4b202bbd7eef189afa384887551c3 (patch) | |
tree | ffc6a63bbaeaaf3e1ec1a2a822af652880a1b91a /winsup/mingw/include/float.h | |
parent | 16f4e17208de78a7dd75038073c4bc1a2c254ce4 (diff) | |
download | cygnal-14e54d7c97e4b202bbd7eef189afa384887551c3.tar.gz cygnal-14e54d7c97e4b202bbd7eef189afa384887551c3.tar.bz2 cygnal-14e54d7c97e4b202bbd7eef189afa384887551c3.zip |
* include/_mingw.h (_CRTIMP): Define for __GNUC__ if
__declspec(dllimport) supported.
(__cdecl): Define if not already defined.
(__stdcall): Likewise.
* include/dirent.h: Qualify fuctions with __cdecl.
* include/fenv.h: Likewise.
* include/inttypes.h: Likewise.
* include/assert.h: Qualify fuctions with __cdecl. Qualify
CRT dll imports with _CRTIMP.
* include/conio.h: Likewise.
* include/ctype.h: Likewise.
* include/direct.h: Likewise.
* include/dos.h: Likewise.
* include/errno.h: Likewise.
* include/float.h: Likewise.
* include/io.h: Likewise.
* include/locale.h: Likewise.
* include/malloc.h: Likewise.
* include/math.h: Likewise.
* include/mbctype.h: Likewise.
* include/mbstring.h: Likewise.
* include/process.h: Likewise.
* include/setjmp.h: Likewise.
* include/signal.h: Likewise.
* include/stdio.h: Likewise.
* include/stdlib.h: Likewise.
* include/string.h: Likewise.
* include/time.h: Likewise.
* include/wchar.h: Likewise.
* include/wctype.h: Likewise.
* include/sys/stat.h: Likewise.
* include/sys/timeb.h: Likewise.
* include/sys/utime.h: Likewise.
* include/ctype.h: Guard ctype inlines with __NO_INLINE__.
* include/wctype.h: Guard wctype inlines with __NO_INLINE__.
* include/stdio.h (__VALIST): Guard against prior definition.
Diffstat (limited to 'winsup/mingw/include/float.h')
-rw-r--r-- | winsup/mingw/include/float.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/winsup/mingw/include/float.h b/winsup/mingw/include/float.h index afcc280a9..1e3d4aa82 100644 --- a/winsup/mingw/include/float.h +++ b/winsup/mingw/include/float.h @@ -115,12 +115,12 @@ extern "C" { /* Set the FPU control word as cw = (cw & ~unMask) | (unNew & unMask), * i.e. change the bits in unMask to have the values they have in unNew, * leaving other bits unchanged. */ -unsigned int _controlfp (unsigned int unNew, unsigned int unMask); -unsigned int _control87 (unsigned int unNew, unsigned int unMask); +_CRTIMP unsigned int __cdecl _controlfp (unsigned int unNew, unsigned int unMask); +_CRTIMP unsigned int __cdecl _control87 (unsigned int unNew, unsigned int unMask); -unsigned int _clearfp (void); /* Clear the FPU status word */ -unsigned int _statusfp (void); /* Report the FPU status word */ +_CRTIMP unsigned int __cdecl _clearfp (void); /* Clear the FPU status word */ +_CRTIMP unsigned int __cdecl _statusfp (void); /* Report the FPU status word */ #define _clear87 _clearfp #define _status87 _statusfp @@ -134,11 +134,11 @@ unsigned int _statusfp (void); /* Report the FPU status word */ per fninit. To use the MSVCRT.dll _fpreset, include CRT_fp8.o when building your application. */ -void _fpreset (void); -void fpreset (void); +void __cdecl _fpreset (void); +void __cdecl fpreset (void); /* Global 'variable' for the current floating point error code. */ -int * __fpecode(void); +_CRTIMP int * __cdecl __fpecode(void); #define _fpecode (*(__fpecode())) /* @@ -146,15 +146,15 @@ int * __fpecode(void); * but they really belong in math.h. */ -double _chgsign (double); -double _copysign (double, double); -double _logb (double); -double _nextafter (double, double); -double _scalb (double, long); +_CRTIMP double __cdecl _chgsign (double); +_CRTIMP double __cdecl _copysign (double, double); +_CRTIMP double __cdecl _logb (double); +_CRTIMP double __cdecl _nextafter (double, double); +_CRTIMP double __cdecl _scalb (double, long); -int _finite (double); -int _fpclass (double); -int _isnan (double); +_CRTIMP int __cdecl _finite (double); +_CRTIMP int __cdecl _fpclass (double); +_CRTIMP int __cdecl _isnan (double); #ifdef __cplusplus } |