зеркало из https://github.com/github/ruby.git
* ext/digest/sha2/sha2.h (BYTE_ORDER): Define BYTE_ORDER as
necessary. [ruby-dev:39029] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
a809077956
Коммит
7fdaba27ca
|
@ -1,3 +1,8 @@
|
|||
Thu Aug 6 19:46:56 2009 Akinori MUSHA <knu@iDaemons.org>
|
||||
|
||||
* ext/digest/sha2/sha2.h (BYTE_ORDER): Define BYTE_ORDER as
|
||||
necessary. [ruby-dev:39029]
|
||||
|
||||
Thu Aug 6 16:36:25 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* encoding.c (valid_encoding_name_p): rejects too long encoding
|
||||
|
|
|
@ -54,7 +54,16 @@ extern "C" {
|
|||
# undef NOPROTO
|
||||
# else
|
||||
# define NOPROTO
|
||||
# endif /* HAVE_PROTOTYPES */
|
||||
# ifndef BYTE_ORDER
|
||||
# define LITTLE_ENDIAN 1234
|
||||
# define BIG_ENDIAN 4321
|
||||
# ifdef WORDS_BIGENDIAN
|
||||
# define BYTE_ORDER BIG_ENDIAN
|
||||
# else
|
||||
# define BYTE_ORDER LITTLE_ENDIAN
|
||||
# endif
|
||||
# endif /* BYTE_ORDER */
|
||||
# define SHA2_USE_INTTYPES_H
|
||||
#else /* RUBY */
|
||||
#ifdef SHA2_USE_INTTYPES_H
|
||||
|
|
Загрузка…
Ссылка в новой задаче