* sprintf.c (_HAVE_SANE_QUAD_): Don't forget LP64, r30156.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2010-12-10 01:50:51 +00:00
Родитель 450680a5d7
Коммит 9ea7e27d58
2 изменённых файлов: 8 добавлений и 4 удалений

Просмотреть файл

@ -1,3 +1,7 @@
Fri Dec 10 10:47:53 2010 NARUSE, Yui <naruse@ruby-lang.org>
* sprintf.c (_HAVE_SANE_QUAD_): Don't forget LP64, r30156.
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

Просмотреть файл

@ -1121,10 +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
#elif SIZEOF_LONG != SIZEOF_LONG_LONG && 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