[前][次][番号順一覧][スレッド一覧]

ruby-changes:18353

From: naruse <ko1@a...>
Date: Sun, 26 Dec 2010 02:38:16 +0900 (JST)
Subject: [ruby-changes:18353] Ruby:r30376 (trunk): This ifdef should be useless after r30374.

naruse	2010-12-26 02:37:36 +0900 (Sun, 26 Dec 2010)

  New Revision: 30376

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=30376

  Log:
    This ifdef should be useless after r30374.

  Modified files:
    trunk/ext/socket/getnameinfo.c
    trunk/ext/socket/option.c

Index: ext/socket/option.c
===================================================================
--- ext/socket/option.c	(revision 30375)
+++ ext/socket/option.c	(revision 30376)
@@ -433,9 +433,6 @@
  * it is not distinguishable by the size.
  */
 
-#ifdef __HAIKU__
-#define HAVE_INET_NTOP
-#endif
 #ifndef HAVE_INET_NTOP
 static char *
 inet_ntop(int af, const void *addr, char *numaddr, size_t numaddr_len)
Index: ext/socket/getnameinfo.c
===================================================================
--- ext/socket/getnameinfo.c	(revision 30375)
+++ ext/socket/getnameinfo.c	(revision 30376)
@@ -114,9 +114,6 @@
 #define ENI_FAMILY	5
 #define ENI_SALEN	6
 
-#ifdef __HAIKU__
-#define HAVE_INET_NTOP
-#endif
 #ifndef HAVE_INET_NTOP
 static const char *
 inet_ntop(int af, const void *addr, char *numaddr, size_t numaddr_len)

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]