зеркало из https://github.com/github/ruby.git
* ext/bigdecimal/bigdecimal.h (RB_UNUSED_VAR, UNREACHABLE):
import macros from ruby.h for 1.9.3. [Bug #8588] [ruby-core:55730] * ext/bigdecimal/bigdecimal.gemspec: Bump version to 1.2.1. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
b7fd00c8fa
Коммит
d08a79cfe1
|
@ -1,3 +1,11 @@
|
|||
Mon Jul 1 20:22:00 2013 Kenta Murata <mrkn@cookpad.com>
|
||||
|
||||
* ext/bigdecimal/bigdecimal.h (RB_UNUSED_VAR, UNREACHABLE):
|
||||
import macros from ruby.h for 1.9.3.
|
||||
[Bug #8588] [ruby-core:55730]
|
||||
|
||||
* ext/bigdecimal/bigdecimal.gemspec: Bump version to 1.2.1.
|
||||
|
||||
Mon Jul 1 20:03:39 2013 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* ext/socket/ipsocket.c (init_inetsock_internal): Use an address
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# -*- ruby -*-
|
||||
_VERSION = "1.2.0"
|
||||
_VERSION = "1.2.1"
|
||||
|
||||
Gem::Specification.new do |s|
|
||||
s.name = "bigdecimal"
|
||||
|
|
|
@ -19,6 +19,18 @@
|
|||
#include "ruby/ruby.h"
|
||||
#include <float.h>
|
||||
|
||||
#ifndef RB_UNUSED_VAR
|
||||
# ifdef __GNUC__
|
||||
# define RB_UNUSED_VAR(x) x __attribute__ ((unused))
|
||||
# else
|
||||
# define RB_UNUSED_VAR(x) x
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef UNREACHABLE
|
||||
# define UNREACHABLE /* unreachable */
|
||||
#endif
|
||||
|
||||
#undef BDIGIT
|
||||
#undef SIZEOF_BDIGITS
|
||||
#undef BDIGIT_DBL
|
||||
|
|
Загрузка…
Ссылка в новой задаче