Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2007-12-20 01:20:25 +0300
committerJeff Johnston <jjohnstn@redhat.com>2007-12-20 01:20:25 +0300
commit3cc8a378d117ead86181ed4d9b440d5a59b08779 (patch)
treed121480085cdb7b25e61b7b7c1126fa09e47ed93 /newlib/libc/include/_ansi.h
parent73063e9364ec6dc9b2e909c295969190e9626e5f (diff)
2007-12-19 Dave Korn <dave.korn@artimi.com>
Jeff Johnston <jjohnstn@redhhat.com> * libc/include/_ansi.h: Add _LONG_LONG definition. * libc/include/math.h (llrint, llrintf, rintl, lrintl, llrintl): Add prototypes. * libc/machine/i386/machine/fastmath.h: Add support for new i386 fast math versions of rint, lrint, and llrint family functions. * libm/machine/i386/Makefile.am: Add new files. * libm/machine/i386/Makefile.in: Regenerated. * libm/machine/i386/f_llrint.c, libm/machine/i386/f_lrint.c, libm/machine/i386/f_rint.c, libm/machine/i386/f_llrintf.c, libm/machine/i386/f_lrintf.c, libm/machine/i386/f_rintf.c, libm/machine/i386/f_llrintl.c, libm/machine/i386/f_lrintl.c, libm/machine/i386/f_rintl.c: New files with fast math implementations.
Diffstat (limited to 'newlib/libc/include/_ansi.h')
-rw-r--r--newlib/libc/include/_ansi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/newlib/libc/include/_ansi.h b/newlib/libc/include/_ansi.h
index 07bfd88eb..b84f37791 100644
--- a/newlib/libc/include/_ansi.h
+++ b/newlib/libc/include/_ansi.h
@@ -45,6 +45,9 @@
#ifndef _LONG_DOUBLE
#define _LONG_DOUBLE long double
#endif
+#ifndef _LONG_LONG
+#define _LONG_LONG long long
+#endif
#ifndef _PARAMS
#define _PARAMS(paramlist) paramlist
#endif
@@ -62,6 +65,7 @@
#define _DEFUN_VOID(name) name()
#define _CAST_VOID
#define _LONG_DOUBLE double
+#define _LONG_LONG long
#ifndef _PARAMS
#define _PARAMS(paramlist) ()
#endif