ruby-changes:10546
From: nobu <ko1@a...>
Date: Sat, 7 Feb 2009 00:29:52 +0900 (JST)
Subject: [ruby-changes:10546] Ruby:r22101 (trunk): * ext/openssl/ossl_cipher.c (add_cipher_name_to_ary): used
nobu 2009-02-07 00:29:39 +0900 (Sat, 07 Feb 2009) New Revision: 22101 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=22101 Log: * ext/openssl/ossl_cipher.c (add_cipher_name_to_ary): used conditionally. Modified files: trunk/ext/openssl/ossl_cipher.c Index: ext/openssl/ossl_cipher.c =================================================================== --- ext/openssl/ossl_cipher.c (revision 22100) +++ ext/openssl/ossl_cipher.c (revision 22101) @@ -124,12 +124,14 @@ return self; } +#ifdef HAVE_OBJ_NAME_DO_ALL_SORTED static void* add_cipher_name_to_ary(const OBJ_NAME *name, VALUE ary) { rb_ary_push(ary, rb_str_new2(name->name)); return NULL; } +#endif /* * call-seq: -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/