1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* sprintf.c (_HAVE_SANE_QUAD_): if a certain platform has LONG_LONG in

8 byte, it might be sane quad. [ruby-core:33634]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2010-12-10 01:41:02 +00:00
parent d10fab3139
commit 450680a5d7
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Fri Dec 10 10:37:17 2010 NAKAMURA Usaku <usa@ruby-lang.org>
* sprintf.c (_HAVE_SANE_QUAD_): if a certain platform has LONG_LONG in
8 byte, it might be sane quad. [ruby-core:33634]
Fri Dec 10 10:07:59 2010 NARUSE, Yui <naruse@ruby-lang.org>
* lib/net/http.rb: remove version 1.1 features.

View file

@ -1121,6 +1121,10 @@ fmt_setup(char *buf, size_t size, int c, int flags, int width, int prec)
# define quad_t LONG_LONG
# define u_quad_t unsigned LONG_LONG
# endif
#elif SIZEOF_LONG_LONG == 8
# define _HAVE_SANE_QUAD_
# define quad_t LONG_LONG
# define u_quad_t unsigned LONG_LONG
#endif
#define FLOATING_POINT 1
#define BSD__dtoa ruby_dtoa